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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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