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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ayush75031
New Member

Gender wise Percentage showing incorrrect

Hi Folk,

Hope you are doing well

I want to show the number of Exit Customers and their percentage by gender. Below is a screenshot  

ayush75031_0-1715145373335.png

 



If I select the Gender Category slicer, I get 100% as you can see below.

ayush75031_1-1715144881166.png

  It should give me an accurate percentage i.e. female 55.92% and male 44.08%, and their respective numbers. Edit Interaction should be avoided. Dax or something else other than Edit Interaction should be used to accomplish this  


Thank You

2 ACCEPTED SOLUTIONS
v-tianyich-msft
Community Support
Community Support

Hi @ayush75031 ,

 

I think there's a misunderstanding that once you've selected a gender via slicer, that means the total only includes the selected gender, so it must be 100%.If you need to highlight a section, just click on the corresponding block of the pie chart.

vtianyichmsft_0-1715242093988.pngvtianyichmsft_1-1715242101908.png

 

 

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

manvishah17
Resolver I
Resolver I

Hi @ayush75031 , 
The above stated solutions are correct, the otherway us, if you want that you select the slicer and pie chart don"t get changes then you can use EDIT INTERACTIONS opt.

Select slicer, go to format ->Edit interactions -> none on pie chart Screenshot 2024-05-09 142100.png

 after that this will be the output 
Screenshot 2024-05-09 142224.png

 

View solution in original post

4 REPLIES 4
manvishah17
Resolver I
Resolver I

Hi @ayush75031 , 
The above stated solutions are correct, the otherway us, if you want that you select the slicer and pie chart don"t get changes then you can use EDIT INTERACTIONS opt.

Select slicer, go to format ->Edit interactions -> none on pie chart Screenshot 2024-05-09 142100.png

 after that this will be the output 
Screenshot 2024-05-09 142224.png

 

v-tianyich-msft
Community Support
Community Support

Hi @ayush75031 ,

 

I think there's a misunderstanding that once you've selected a gender via slicer, that means the total only includes the selected gender, so it must be 100%.If you need to highlight a section, just click on the corresponding block of the pie chart.

vtianyichmsft_0-1715242093988.pngvtianyichmsft_1-1715242101908.png

 

 

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

ayush75031
New Member

Hello @danextian ,

Thank you for your quick response. I want to show numbers along with Percentages in Pie Chart

danextian
Super User
Super User

Hi @ayush75031 ,

 

You need  to alter the filter context on your denominator. Try:

DIVIDE ( [measure], CALCULATE ( [measure], ALL ( 'table'[gendercategory] ) ) )









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


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.