Hello PowerBI experts, hope you all are well and safe!
I am stuck with fixing an issue with cumulative totals, and any guidance would be great! I have matrix showing cumulative totals for each month by day. The issue here is that after the max cumulative total is reach for each month, the matrix continues to show this value for subsequent days but I would rather have these records blank to indicate no activity. The matrix I have is as follows:
What modifications to the DAX query can I make to return no values for days the cumulative total didn’t increase? I looked at multiple places for a solution, but I didn’t find anything really I could use to modify my DAX query. Please let me know if my question needs any clarification. Any help would be highly appreciated, thank you very much!
Hi @GrapeApe561, we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.
Use the forum search to discover if your query has been asked before by another member.
When posting a topic with formula make sure that it is correctly formatted to preformated text </>.
Use the proper category that best describes your topic
Provide as much context to a question as possible.
Include demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.
I feel your answer is very close to the solution. Please correct me if I am mistaken, but in your code the “CumSales” variable hasn’t been defined. Should I replace “Cum sales by Month Unique” in your code with “CumSales.” Thank you so much for your help, I appreciate it more than be explained with words!