In one of my report i have one data item sales_amount. If this report is run by one user from india so the sales_amount should be display in indian repees(Rs.) format, if USA user then in dollers($), if UK user then In Pounds.Hou can i achive this? Please answer me.

Answers were Sorted based on User's Feedback



In one of my report i have one data item sales_amount. If this report is run by one user from india ..

Answer / sandeep8000861

This required identifying the location of the logged in user first which needs to be derived from account.personalInfo.userName key unless the location data is readily/explicitly available on the DWH table.


Once we have this info, conditionally rendering the format (just format?? not the amount too??) using a string conditional variable or any other approach.

See: http://www.ibm.com/developerworks/data/library/cognos/modeling/security/page544.html

Is This Answer Correct ?    3 Yes 1 No

In one of my report i have one data item sales_amount. If this report is run by one user from india ..

Answer / krishna

Use currency conversion filter dynamically

Is This Answer Correct ?    1 Yes 0 No

In one of my report i have one data item sales_amount. If this report is run by one user from india ..

Answer / mohanakrishnak

The Best Way is to create a table based on Current day conversion values and use this table for calculation with the "Sale Amount".

This table contains locale as one columns and conversion amount as another columns.

Locale Rate
------ ----
Usa 64
Uk 85
Rupee 1
China 3 ...etc

Use the account.Userlocale session parameter to get the user locale and multiply with 'Rate' column amount.

Is This Answer Correct ?    0 Yes 0 No

In one of my report i have one data item sales_amount. If this report is run by one user from india ..

Answer / prathik

we can use conditional blocks.Create a value prompt with a radio buttons.So that user can select based on his requirement.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Cognos Interview Questions

Can the expiration parameter of 365 in the cognos 8 configuration how to increase common symmetric key lifetime in days

0 Answers  


i wanna some client names and project names in cognos? plz send cognos resumes(3+) exp plz plz plz help me??

1 Answers   TCS,


difference between join and union in reportstudio?

2 Answers   IBM,


How is cognos model organization works?

0 Answers  


fiscal year means what???

8 Answers   iFlex, iGate,






HOW MANY LEVELS CAN BE USED IN DRILL THROUGH REPORTS

5 Answers   IBM, Virtusa, Wipro,


What is the information present in the cognos configuration file?

0 Answers  


What is looping and how to avoid it in framework manager?

0 Answers  


Please explain the different stages in creating a report in cognos report net?

0 Answers  


actually 2 members working in same module.at a time is possible to work on same module? i add some tables,another person also add some tables how the synchronization betn the two in same module? pls ans me and expain to me.....

0 Answers  


How can we publish package to QA environment not cognos connection?(if we have two URL one cognos connection and qa environment how can we publish package to qa?)Please anybody give me the answer.

4 Answers   TCS,


what r the filters in fwm and report studio

6 Answers   TCS,


Categories