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! Learn more

Reply
ROG
Responsive Resident
Responsive Resident

Dax measure with wrong value.

Hi all,

 

I need to create a new YTD Var measure similar to the previous one.

The result should have approximate values, but as you can see the YTD Var column is very different. Would you know why the result is wrong from the new measure?

 

(old measure) XX_YTD_NET_CHURNR_Var = [XX_NET_CHURNR] - CALCULATE(TOTALYTD(DIVIDE(SUM(monthly_churn_db_full[NET_CHURN]),SUM(monthly_churn_db_full[OB])),monthly_churn_db_dates[DATE_KEY]))

 

(new measure) Net Churn YTD Var = [Net Churn - 30D%] -
CALCULATE(TOTALYTD(DIVIDE([Net Churn - 30D],[Opening Base - 30D]),'🔎Calendar'[Date]))



Below are each field I'm replacing, and as you can see on the new report I have measures and not a field. 

[XX_NET_CHURNR] --> [Net Churn - 30D%]
SUM(monthly_churn_db_full[NET_CHURN]) --> [Net Churn - 30D]
SUM(monthly_churn_db_full[OB] --> [Opening Base - 30D]
monthly_churn_db_dates[DATE_KEY] --> Calendar'[Date]

 

Output result from old measure.

ROG_0-1663935595640.png

 

Output result from new measure.

ROG_1-1663935622352.png

 

Thank you!

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.