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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ROG
Responsive Resident
Responsive Resident

No totals and wow wrong

Hi folks!

Can you please help me figure it out, why the total from 'Previous Week Net' isn't showing? 
Also, why the week 34 doesn't have value on the 1st column and -100% on the others?

See below the measures.

 

ROG_0-1659964598912.png

CurrentWeek Net= SUM( Net)
PW Net Churn =
VAR PriorWeek = SELECTEDVALUE ( '🔎Calendar'[Week Number Year] ) -1

RETURN
CALCULATE(
    [Net Churn - 30D],
    ALL ( '🔎Calendar'[Week Number Year]),
    '🔎Calendar'[Week Number Year] = PriorWeek
)

 
Net Churn% WoW = ([CurrentWeek Net]-[PW Net Churn])/[PW Net Churn]
Net Churn % WoW Change = [Net%] - [Net Churn% WoW]

Thanks
1 ACCEPTED SOLUTION
memepu
Resolver II
Resolver II

Hi @ROG ,

Create three measures based on  the above  measures.

CurrentWeek Net total=var _b=SUMMARIZE('calendar','calendar'[date],"aaa",'calendar'[CurrentWeek Net])
return
IF(isinscope('calendar'[date]),'calendar'[CurrentWeek Net],SUMX(_b,[aaa]))
Net Churn% WoW total =var _b=SUMMARIZE('calendar','calendar'[date],"aaa",'calendar'[Net Churn% WoW])
return
IF(isinscope('calendar'[date]),'calendar'[CurrentWeek Net]Net Churn% WoW],SUMX(_b,[aaa]))
Net Churn % WoW Change total= var _b=SUMMARIZE('calendar','calendar'[date],"aaa",'calendar'[Net Churn % WoW Change])
return
IF(isinscope('calendar'[date]),'calendar'[Net Churn % WoW Change],SUMX(_b,[aaa]))

 

 If I have  misunderstood your meaning, you can create simple data with excel, then show me the screenshots about the data and the desired output your want.

 

Best regards.

View solution in original post

2 REPLIES 2
memepu
Resolver II
Resolver II

Hi @ROG ,

Create three measures based on  the above  measures.

CurrentWeek Net total=var _b=SUMMARIZE('calendar','calendar'[date],"aaa",'calendar'[CurrentWeek Net])
return
IF(isinscope('calendar'[date]),'calendar'[CurrentWeek Net],SUMX(_b,[aaa]))
Net Churn% WoW total =var _b=SUMMARIZE('calendar','calendar'[date],"aaa",'calendar'[Net Churn% WoW])
return
IF(isinscope('calendar'[date]),'calendar'[CurrentWeek Net]Net Churn% WoW],SUMX(_b,[aaa]))
Net Churn % WoW Change total= var _b=SUMMARIZE('calendar','calendar'[date],"aaa",'calendar'[Net Churn % WoW Change])
return
IF(isinscope('calendar'[date]),'calendar'[Net Churn % WoW Change],SUMX(_b,[aaa]))

 

 If I have  misunderstood your meaning, you can create simple data with excel, then show me the screenshots about the data and the desired output your want.

 

Best regards.

Greg_Deckler
Super User
Super User

@ROG This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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