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

explain how to create powerplay reports?

1 Answers   IBM,


What is the difference between a data mart and a data warehouse?

1 Answers  


diff b/w layout calculation and query calculation

2 Answers   Cap Gemini,


What is the information present in the cognos configuration file?

1 Answers  


how to change the colour of the bar in charts...?

3 Answers   IBM,


WHAT IS METRIC STUDIO?WHAT IS SCORE CARDS HOW TO IMPLEMENT IT AND WHAT IS THE USE OF SCORE CARD?

2 Answers   IBM,


What are all the types of indexes in Cognos?

1 Answers  


-----------With out using DrillThrough how to do Reports?

1 Answers   IBM,


What are the roles defined by cognos platform?

1 Answers  


1)How can we do the Union in Report Studio? 2)What is the meaning of Aggregation and Rollup Aggregation? 3)How can we hide the columns in Report Studio and How can we view the hiding Objects? 4)Can we provide joins in Report Studio and in which situation we can go for outer join? 5)If we take a Date Prompt and run it once it will show default data,how can we change it exact 1 month back data?

1 Answers  


How can we do the unit testing?

3 Answers   Logica CMG,


What is main advantage datawarehousing over oracle?

1 Answers  


Categories