Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8790087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:33:42+00:00 2026-06-13T22:33:42+00:00

In this url, it is shown how you can format a particular column to

  • 0

In this url, it is shown how you can format a particular column to according to particular currency.
http://publib.boulder.ibm.com/infocenter/caapps/v10r1m0/index.jsp?topic=%2Fcom.ibm.swg.im.cognos.ug_fm.10.1.0.doc%2Fug_fm_id13919format_SAP_query_items.html

Now in a result set, there may be 2 rows and each may be of a different currency and also different number of decimals. According to the method here, it seems that we need to hard code the currency and the number of decimals on the entire column. Is there a way to set it dynamically?

I have two columns in the result set, one is the amount the other one is the currency. Based on currency, i want to format the amount column. From db, the amount column just comes back as a number.
How can I do it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:33:43+00:00Added an answer on June 13, 2026 at 10:33 pm

    I can’t think how this would be done in Framework Manager. You can do it in Report Studio however.

    He are some high level instructions on how to do it in Report Studio:

    1. In Condition Explorer, create a variable which results in a different string for each currency. For example if your currency code field is [Table].[CurrencyCode] and it has things like ‘AUD’,’CAD’ etc. in it then your variable expression would just be the field:

      [Table].[CurrencyCode]

      This will simply output the currency as its result

    2. Still in the variable creation screen, add values the the ‘Value’ window to for each possible currency code result

    3. Go to the report page, click on the field that contains your actual currency value (i.e. 13.50 and set it’s Style Variable property to the variable that you just created

    4. Now go back to condition explorer and select your first currency

    5. Ensure your currency value field is selected and edit the ‘Data Format’ field to the appropriate format

    6. Repeat 4 & 5 for each currency

    Here is another guide to how to do this:

    http://www-01.ibm.com/support/docview.wss?uid=swg21339405

    This is called ‘Conditional Formatting’ if you would like to research it further.

    Unfortunately this solution needs to be done at the report level and can’t be done down at the the FM level. I’m not aware of a way that you can conditionally set the data format in FM like this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My url generates like this: only shows in ie9 http://myurl.com/#/categories/posts how do I remove
I'm having this url parameter: http://127.0.0.1:8000/information/vimeo/?oauth_token=xxxxxxxxxxxxxxxxxxxxxxxx&oauth_verifier=xxxxxxxxxxxxxxxxxxxxxx How can I get the value of oauth_verifier
The URL http://www.fourmilab.ch/cgi-bin/Earth shows a live map of the Earth. If I issue this
I have this URL example.com/photo?people I want to rewrite this URL in the form
do you test this url in your application that writted with cakephp ? www.yourCakephpApp.com/test
i want to develop dropdown inside a check box . this url shows me
I have this link in a template: <a href={% url show_item item.id %}>Item 1</a>
This is the URL: Check this URL In that there is a red ribbon
I want to send this url from an android class to my servlet. I
Hi have this URL string which I need to extract possibly using regex but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.