cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
nmck86 Member
Member

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.

 

issue in Power BI 2.jpg.pngIncorrect ResultsIssue in Power BI.jpgCorrect Results

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Issues with my percentages in Power BI Desktop

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])

   

              Did I answer your question? Mark my post as a solution!
       

Proud to be a Datanaut!


   


1 REPLY 1
Super User
Super User

Re: Issues with my percentages in Power BI Desktop

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])

   

              Did I answer your question? Mark my post as a solution!
       

Proud to be a Datanaut!