Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello All
I have some DAX related question.
Let me explain my scenario - I have a matrix table which shows companies data (each company has its data in different currency) and there is a measure which is dynamically showing data in USD for each company
At the total level for matrix, the totals are inaccurate as currency conversion at total level is not relevant as such.
So I am using SUMX to do the totals for all the companies - i.e. each company's USD converted number will add up together to show the total.
Its fine till here.
However, what I am using here is HASONEVALUE function to check if I am at company level or total level and use SUM or SUMX based on that.
But if in case my user removes company code and lets say puts a different field, then my measure will fail as it is checking HASONEVALUE for company code only and not the new field just added by user.
Have any of you encountered this or have any suggestions?
Regards
So the users have access to edit your report? How are you sharing the reports via the Service or Desktop?
Yes, my users have edit access to the report. I am sharing the report via Service.
Regards
you mean write multiple measures, right?
I think ISINSCOPE will have the same shortcomings as what HASONEVALUE has in my scenario.
Regards
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |