Forum Discussion
Problem with total statement
Hi ,
i have a problem with my total statement. I have seen that others have got the same issues, but i can't use their solution for my measure. Ashish_Mathur You were able to help someone else with a similar problem. Do you have a solution for that? 🙂
I have to measure "Product 1 sum at last" - "Product 1 sum at first". I only want to consider the positive values in my result of the measure "Without negative Values". I have attached a screenshot for you and the measures. I tried a Hasonefilter, but it does not work. Do you have a solution for my problem? You would help me a lot. Kind regards Lennard .
Remove the second HASONEVALUE
4 Replies
- Ashish_MathurSuper User
Hi,
Does this measure work?
=If(hasonevalue(HASONEVALUE('Tabelle1 (2)'[Month]),[Without negativ Values],sumx(summarize(values('Tabelle1 (2)'[Month]),'Tabelle1 (2)'[Month],"ABCD",[Without negativ Values]),[abcd]))
Hope this helps.
- AnonymousNot applicable
Unfortunately not, i get this error message:
"Too many arguments were passed to the HASONEVALUE function. A maximum of 1 arguments are allowed for the function."
- Ashish_MathurSuper User
Remove the second HASONEVALUE