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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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