Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello PBI Expert,
I have a report with parameters for sales, profit,.. And all are known as Vietnam Dong.
I want to convert VND to USD and vice versa with a slicer.
My problem is that all my tables have no information about currency or table about currency.
So should I create a table about currency then merge it into the main table or is there a way to do it?
Looking forward to the help.
Thank you
Solved! Go to Solution.
Good day KayzDo,
In this example I started with the sample semantic model available in Power BI Desktop, which has a single table "financials".
The procedure is as you suggest. Create a currency table. This can either be "by hand" or from an online source. Do not create a relationship between this table and "financials" - in other words it is a "disconnected" table.
Create a slicer visual for the Currency column of this table (configure it for single selection, just to be "tidy")
Now create a measure
Sum of Sales = SUM(financials[ Sales]) * SELECTEDVALUE('Table'[Conversion Factor])
When you place this measure in a visual it will use the currency you have selected.
Hope this helps
I'm appreciate it.
Thank a lot, it very helpful!
Good day KayzDo,
In this example I started with the sample semantic model available in Power BI Desktop, which has a single table "financials".
The procedure is as you suggest. Create a currency table. This can either be "by hand" or from an online source. Do not create a relationship between this table and "financials" - in other words it is a "disconnected" table.
Create a slicer visual for the Currency column of this table (configure it for single selection, just to be "tidy")
Now create a measure
Sum of Sales = SUM(financials[ Sales]) * SELECTEDVALUE('Table'[Conversion Factor])
When you place this measure in a visual it will use the currency you have selected.
Hope this helps
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 6 | |
| 5 |