Forum Discussion
Sum values but dont show blanks
- 6 years ago
Hi Wresen
Try using ALLNOBLANKROW in place of ALL, as follows:
Runningcount = SUMX ( FILTER ( ALLNOBLANKROW ( 'Box Table'[Box] ), 'Box Table'[Box] <= MAX ( 'Box Table'[Box] ) ), [Amount] ) - 6 years ago
Sorry Wresen ,
I forgot to mention that you'll also need to apply a filter on the 'Box' column in the visual:
Hi Wresen ,
You need to have a cloud storage such as Onedrive or Google Drive where you can put your file. After that, you create a shareable link that you can insert in your post enabling people to download the pbix.
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
I hop i have done it correct , the file is in "Box sum" bellow
What i am trying to do is:
but i get :
(What i want is the measure's to ignorne the "blank" box in the calculations. I needs to be in measures and i need to have the relationship since hoppfully i will conect other data to the "Box Table")
(Credit to parry2k for the Totalsum measure)
- MartynRamsden6 years ago
Solution Sage
Hi Wresen
Try using ALLNOBLANKROW in place of ALL, as follows:
Runningcount = SUMX ( FILTER ( ALLNOBLANKROW ( 'Box Table'[Box] ), 'Box Table'[Box] <= MAX ( 'Box Table'[Box] ) ), [Amount] ) - MartynRamsden6 years ago
Solution Sage
Sorry Wresen ,
I forgot to mention that you'll also need to apply a filter on the 'Box' column in the visual:
- Wresen6 years ago
Post Patron
Thanks so much for the help.
I have tried your suggestion in a bigger model (where i connect more data) and it works as i want.
Thanks also to all who has come upp with suggestion to help me and my report.