Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bsas
Post Patron
Post Patron

How to show cumulative data for next month if there is no data with such date in table.

Hi BI community,

 

I have to show cumulative data - sales per month for whole year. I have 2 categories "Won" and "In progress". The problem is that from September I do not have any "won" anount and the same from November for "In Progress".  

 

How I can copy cumulative data from the last month and show it for next month if I haven't amonut of date in next month for different categories?

1 ACCEPTED SOLUTION
bsas
Post Patron
Post Patron

Sorry for waysting your time. Solved by myself.

 

Maybe will be usefull for someone.

 

Won_cumulative = CALCULATE(SUM(Acc_Opp[revenue),
FILTER(FILTER(ALLSELECTED(Acc_Opp),Acc_Opp[Status] = "1.Won"),
Acc_Opp[closedate] <= MAX(Months[EndDate])))

same for another category. 

View solution in original post

1 REPLY 1
bsas
Post Patron
Post Patron

Sorry for waysting your time. Solved by myself.

 

Maybe will be usefull for someone.

 

Won_cumulative = CALCULATE(SUM(Acc_Opp[revenue),
FILTER(FILTER(ALLSELECTED(Acc_Opp),Acc_Opp[Status] = "1.Won"),
Acc_Opp[closedate] <= MAX(Months[EndDate])))

same for another category. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.