12-10-2018 06:27 AM
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?
12-10-2018 10:17 AM
So the users have access to edit your report? How are you sharing the reports via the Service or Desktop?
Did I answer your question? Mark my post as a solution!
Proud to be a Datanaut!
12-14-2018 01:36 AM
12-18-2018 12:19 AM
you mean write multiple measures, right?
I think ISINSCOPE will have the same shortcomings as what HASONEVALUE has in my scenario.