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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nmck86
Post Patron
Post Patron

Issues with my percentages in Power BI Desktop

I have a percentage that I am using through the below formula.

 

% of Row Total 2 = DIVIDE(SUM('Sheet1 (2)'[Response ID]),CALCULATE(SUM('Sheet1 (2)'[Response ID]),ALLEXCEPT('Sheet1 (2)','Sheet1 (2)'[Date of Survey])))

 

Essentially, this formula is providing me a by day percentage based on the recommended 2 field. This works perfectly. However, when I apply a filter to the results set it doesnt show up how I would like it to. I want it to show me 100% for the state I select by day not a % based on the by day total amount. Screenshots are below. I want my results to still total 100% after I apply my filters but I want it to only be a % based on the state level filter I applied. Can someone assist please.

 

Incorrect ResultsIncorrect ResultsCorrect ResultsCorrect Results

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

What happens when you change

ALLEXCEPT('Sheet1 (2)','Sheet1 (2)'[Date of Survey])

to

ALLEXCEPT('Sheet1 (2)','Sheet1 (2)'[Date of Survey], 'Sheet1 (2)'[State])

View solution in original post

1 REPLY 1
Anonymous
Not applicable

What happens when you change

ALLEXCEPT('Sheet1 (2)','Sheet1 (2)'[Date of Survey])

to

ALLEXCEPT('Sheet1 (2)','Sheet1 (2)'[Date of Survey], 'Sheet1 (2)'[State])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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