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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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 MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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