Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Country Wise Sales to particular currency

HI all,

I am very new to the  QlikView and i have stucked with the below requirement.

When I select Country, I will automatically get all data belongs to that particular country according to their Currency.

For Example i have a list box(Country) and straight table(country(dim) and SUM(SALES)),

when i select Country India it should show the sales according to the india Sales ,for US($) sales etc.....

Kindly help me on above requirement.

Thanks,

1 Solution

Accepted Solutions
hariprasadqv
Creator III
Creator III

better to take a variable and assign exchange rate to it and multiply play exchange rate with it. it would be the good practice.

Ex:

Let vRate=62.30;

Add expression for an additional column like sum(sales)*vRate;

It will gives you desired output.

View solution in original post

8 Replies
Not applicable
Author

Hi Sruthi,

Create 1 more field like exchange rate against Country

And IN Expression, You can give like

sum(sales)* exchange rate

Warm Regards,

Joshmi

Not applicable
Author

Hi Sruthi,

You need to load an extra table with the currency inside your model.

LOAD * INLINE [

CUR, VAL

$, 10

£, 14];

Then link the CUR to the sales table.

Then all you do is sum(Sales) * VAL

Regards,
Marius

hariprasadqv
Creator III
Creator III

better to take a variable and assign exchange rate to it and multiply play exchange rate with it. it would be the good practice.

Ex:

Let vRate=62.30;

Add expression for an additional column like sum(sales)*vRate;

It will gives you desired output.

PradeepReddy
Specialist II
Specialist II

if u want to to achieve this,

you have to take all sales in same currency and after that try as suggested by Joshmi.

hariprasadqv
Creator III
Creator III

When multiple currencies are there it is better to create currency and its exchange rate table or supplying the exchange rate through Input Box object is also a good one.

PradeepReddy
Specialist II
Specialist II

Not applicable
Author

HI Marius,

     Thank for revert back to me,I have a small doubt when the Conversion rates  changes daily. For example, last month  $ price is 62.30 and for this $ rate 55.71 . How should i compare these calculations.Plz Help me.



Regards,

Sruthi


Not applicable
Author

hi prasad,

Thank's for your reply,but my question is, i have straight table  with product wise sales.

i have a list box like country,when i click on india it should show me indian currency sales  of different products,

when i click on US it should show me US currency . Plz Help me

regards,

sruthi