Forum Discussion
Can't sum Total
- 5 years ago
Hi, Daniel_Fdrvc
According to your description, I modify your two measures and create a new measure to show the result you want.
Like this:
1 = VAR a = SUMMARIZE ( Sales, Sales[Date], Sales[GD], Sales[ID], "1", IF ( SUM ( Sales[GD] ) = 1, 1, 0 ) ) RETURN SUMX ( a, [1] )2 = VAR a = SUMMARIZE ( Sales, Sales[Date], Sales[GD], Sales[ID], "2", IF ( SUM ( Sales[GD] ) > 1, 1, 0 ) ) RETURN SUMX ( a, [2] )3 = IF([1]+[2]>2,[1]+[2]*2,0)If you still have problems, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If possible share the pbix file without senstive info. You are delaing with two different aggreation count and sum which may be causing this!
VijayPi found an opportunity to share the pbix file: https://drive.google.com/file/d/1BROeNvGjvovmpRrooyhPk3WUSNZWB4qf/view?usp=sharing
Maybe now you'll find some time to help me. Thank you in advance!
- Daniel_Fdrvc5 years ago
Helper I
amitchandak / Greg_Deckler / parry2k / MFelix / Ashish_Mathur maybe someone have solved same task earlier and can help me? Sorry for mentions 😉