Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
1)I found a useful query in a former post which i used to calculate currencies based on a slicer (See below), however when i want to group for example the sales of customers to two different categories such as new customers and exisiting customers it does not work; it only wants to show data for each line in the data set and not on an aggregated group level. Any idea how to solve this?
2) When i have used this function for 2 tables (it works on each table separately) and i want to show for example budget data vs the sales data and i try to combine the outcome in one/same table it does not work even though i established a relationship between the tables. Can this be solved wiht crossjoin or something, but still having the currency slicer option query behind?
Thanks a lot for help
plicable Exchange Rate = CALCULATE ( VALUES ( Table1[Ex Rate] ), FILTER ( ALLEXCEPT ( Table1, Table1[Foreign Currency] ), Table1[Base Currency] = SELECTEDVALUE ( Table2[Base Currency] ) && Table1[Month] = SELECTEDVALUE ( Table2[Month] ) && Table1[YEAR] = SELECTEDVALUE ( Table2[YEAR] ) ) )
Then Revenue in the selected Currency is simply
Revenue in Selected Currency = [Applicable Exchange Rate] * SELECTEDVALUE ( Table2[Revenue] ) )
Hi @Anonymous
Sample data and expected output will be helpful to provide an accurate solution.If you need further help,please follow the How to Get Your Question Answered Quickly to post some simplified assumed data and expected output.It would be better if you can upload the .pbix file to OneDrive and post the link here. Do mask sensitive data before uploading.
Regards,
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
84 | |
83 | |
72 | |
49 |
User | Count |
---|---|
143 | |
130 | |
108 | |
64 | |
55 |