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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Running Total issue

Hi everyone,

I have sales and Calendar tables which have following columns :

Sales :

-Id

-OrderDate

-DeliveryDate

-Amount

 

Calendar table (Marked as Date table)

-Date

There is a relationship between Sales(OrderDate) and Date(Date)

 

I create a measure RunningTotal = 

IF(MIN(Calendar [Date]) <= CALCULATE(MAX(Sales(OrderDate);ALL(Sales))
;CALCULATE(SUM(Sales[Amount]);FILTER(ALL(Calendar );Date[Date]<= MAX(Calendar [Date]))))
 
My problems is when i have no amount in sales table "runningtotal" is blank instead of having the value of the previous month
 
eg: for august 18 i want to display 79700,84
how can i achieve this?
 
Here my dataCapture.PNG

 

Thank you in advance 

 

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Could you please share the sample data(raw data) and clarify more details about your requirement?

 

Regards,

Jimmy Tao

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors