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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.