March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello dear community,
Merry Christmas to all.
I hope you are well.
I have a question.
I have different simple measures per country to convert the currency.
I would like that when I select the country via a slicer, the measure changes and the result changes everywhere (in the card and if I have a table with several countries, I see the sales by currency).
If I don't select anything, it will be $ by default.
Can you help me?
Thanks in advance for your help
Solved! Go to Solution.
Hi @Anonymous
There are several options to work with FX rates, but just check one solution here:
https://www.dropbox.com/s/h8kqqr1emeg96tr/slicer_devise_%28allure-analytics.com%29.pbix?dl=0
Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.
Appreciate your Kudos !!!
Proud to be a Super User!
This is in fact a must-know in BI solutions. This is explained fully in this video 🙂
Also, it helps better use SWITCH in DAX:
Thnak you to you @negi007 and @ALLUREAN for your idea. It help me a lot.
I have a question based on that.
Imagine that I have a simple measure (if sales amount are between 1M and 2M then 1 if not0).
Is it possible to do this :
If I select Country the divide simple mesure by the disctinct count of country. If I choose region divide by distinct count of region, ... )
Do I do every time a measure for each case ?
Здраствуй @Anonymous
You can download the file again. In this case the measure is using distinct static number of countries/regions, it can be dynamic if this is the case.
Proud to be a Super User!
Hello Sir,
Thank you for your answer but I can't download the file :
Site is unreachable
it should work:
https://www.dropbox.com/s/h8kqqr1emeg96tr/slicer_devise_%28allure-analytics.com%29.pbix?dl=0
Proud to be a Super User!
@Anonymous let's say you have table below which has country name and conversion value
you can then create a measure that will extract the rate from the above table basis selection in the slicer for a country
in the above visual, you can see basis selection value is being shown from table. You can customize the measure above to get the final value by calc using measure
Proud to be a Super User!
Hi @Anonymous
There are several options to work with FX rates, but just check one solution here:
https://www.dropbox.com/s/h8kqqr1emeg96tr/slicer_devise_%28allure-analytics.com%29.pbix?dl=0
Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.
Appreciate your Kudos !!!
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
86 | |
77 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |