Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi PBI Community,
I am trying to graph a cumulative total (# of expirations) by a week ending date. It appears to be working (mostly) with the exception that if a particular week ending date didn't have any expirations it doesn't show any data (see pic below). I would like it to show the previous weeks data but after browsing the forum I haven't been able to figure out how to adapt solutions to similar problems I've found. Any all help anyone could provide would be greatly appreciated.
Output:
The Measure I am graphing is as follows:
zE1 = IF(OR('TABLE'[Status] = "Expired", 'TABLE'[Status] = "Completed after expiration"), 1, 0) <--- This is a calculated column in the table
Solved! Go to Solution.
Hi again codestule
Please dont take offence to the "not doing your job" comment.
I copy and paste it it on all my posts because I am an uppaid volunteer who is happy to share skills to people who are keen to learm but some members just want their jobs doing for free. 😀😀😀
Sorry to hear you are still struggling with your cummulative report.
The solution I provided works
Click here to download and try it
I have also provide a screen print to show it works.
In the top monthly blue graph you can see there were no sales in some weeks.
But the top red line and the bottome blue graph show the cummulative values.
So I trust you agree that this solution does work, but you may have copied it incorrectly?
Try download the example again and carefully change it to your data, but do not change the logic.
If you still have problems then copy and paste your data into the chat as a text table (not a screen shot) so we can import the data and share the solution. Remember not to share any private date
Good luck!
I am sure you will master how to produce cumulative reports soon, it it difficult the first time. 😎
I give you kudos for your time/effort and very much appreciate it. Contrary to what was said in your post, I'm not looking for (nor do I expect) someone to give me the solution. I've attempted to adapt your proposal and I get the same results I already have, it calculates the cumulative total just fine except if a given weekending doesn't have any data it still displays 0 on the graph (this is both with the use of a separate date table and w/o).
Again, thank you for your time and effort and I do sincerely appreciate it however at this time I'm still not able to accomplish what I'm seeking out to do with your proposal.
Hi again codestule
Please dont take offence to the "not doing your job" comment.
I copy and paste it it on all my posts because I am an uppaid volunteer who is happy to share skills to people who are keen to learm but some members just want their jobs doing for free. 😀😀😀
Sorry to hear you are still struggling with your cummulative report.
The solution I provided works
Click here to download and try it
I have also provide a screen print to show it works.
In the top monthly blue graph you can see there were no sales in some weeks.
But the top red line and the bottome blue graph show the cummulative values.
So I trust you agree that this solution does work, but you may have copied it incorrectly?
Try download the example again and carefully change it to your data, but do not change the logic.
If you still have problems then copy and paste your data into the chat as a text table (not a screen shot) so we can import the data and share the solution. Remember not to share any private date
Good luck!
I am sure you will master how to produce cumulative reports soon, it it difficult the first time. 😎
My apologies for how I interpreted your original response, thanks for getting back to me again. Unfortunately I am unable to download the file you shared, I attempted to use both my work and personal one drive account and in both cases it says there was an "error" and failed to download. I have updated my dax as follows:
None the less, I don't doubt your proposed solution works. I feel like it has to be something in the filtering/slicing on my end but it is driving me crazy trying to figure it out.
Hi agian codestule
No appology necessary, but thank you and thanks for the kudos.
Well done on developing a solution. 😀
I have refeshed the link, so you can try download my example again.
It is on Onedrive, so you shoud be able to access it
https://1drv.ms/u/s!AgMTUY3Uvq3bg6lXcgsLMa0rZtCRGA?e=0O3Rov
Good luck!
If you need more help then raise a new tickey and quote @speedramps anywhere in the text and I will receive an automated notification, but another super use might get to you first. 😎
Click here to download a solution
How is works ...
Firstly alway use calendar table for date logic.
Never use the date directly from the fact tables.
Learn abour calendar tables here https://www.youtube.com/watch?v=BtYn1hfdSAM
This dax measure will just get sales for current perid on visual, for example week
Thanks for reaching out for help.
I put in a lot of effort to help you, now please quickly help me by giving kudos.
Remeber we are unpaid volunteers and here to coach you with Power BI and DAX skills and techniques, not do the users job for them. So please click the thumbs up and accept as solution button.
If you give someone a fish then you only give them one meal, but if you teach them how to fish then they can feed themselves and teach others for a lifetime. I prefer to teach members on this forum techniques rather give full solutions and do their job. You can then adapt the technique for your solution, learn some DAX skills for next time and soon become a Power BI Super User like me.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 33 | |
| 32 | |
| 31 | |
| 26 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |