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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous_KH
Frequent Visitor

QTD Resets if value is 0

Hello,

 

I am pretty new to PowerBI and trying to create Quater to Date Measure. Have created QTD calculation for measures based On Revenue , which works fine as long as value is contious . But doesn't work , if value is 0 , it automatically resets to 0, Is there a way to fix this .Untitled.png

1 ACCEPTED SOLUTION
komald
Helper I
Helper I

@Anonymous_KH , You are using totalqtd dax it will provide running total for quarter only if your quarter get chages it will start from begining for quarter.

 try this, i hope it will work for you

YTD= Totalytd([total revenue],sales[date].[date]) 

View solution in original post

2 REPLIES 2
Anonymous_KH
Frequent Visitor

Sorry for Such a Stupid Question.

komald
Helper I
Helper I

@Anonymous_KH , You are using totalqtd dax it will provide running total for quarter only if your quarter get chages it will start from begining for quarter.

 try this, i hope it will work for you

YTD= Totalytd([total revenue],sales[date].[date]) 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.