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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Grouping of dynamic values in Pie chart

Hello all,

I am stuck in some weird dilemma with some not so friendly pie chart data set.

I have a data set based on survey questions and values. Survey contains 25questions and each has a text value answer. My team wants to showcase one particular question in that survey in form a pie-chart only. As it is survey, some answers have high entry rate than others. For e.g.
User 1 - Question 4- Not interested to disclose
User 2- Question 4: >35000
User 3-Question 4: >5000 and so on

Now when I am creating pie-chart for Question 4, values like "Not interested to disclose" take up 32% of pie, some other value take 15%, whereas values such ">35000" take up only 2% pie area. These values get squeezed and difficult to select. The scenario mentioned at last occurs for 8 kind of responses with all taking something between 5% to 0.7% of pie area. Like I mentioned before, all these 8 values are difficult to view or select. Showcasing top N is not helpful as all values are important from business perspective.

So is it possible we can dynamically group all these low hanging values in one as "Other"? And then use tool tip or some other bookmark method to showcase the small values in form of bar chart? Zoomcharts donut chart was not helpful because of watermark.

Also can we show legends as "Not interested to disclose- 35%" instead of just 35%?

Thanks for your help.
1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, i create a sample to test:

90.PNG

Then please try to create a column to show new type:

NewType = IF(CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Type]))/COUNTROWS('Table')<=0.1,"Other",'Table'[Type])

Choose pie chart, it shows:

91.PNG95.PNG

Then create a new page, choose [Type] as Pie chart, and apply a filter to it, it shows:

92.PNG

Turn on DrillThrough function:

93.PNG

When you choose 'Other' type in the first page, you can drill through to see its details:

94.jpg

Here is my test pbix file:

pbix 

Hope this helps.

 

Best Regards,

Giotto Zhi

View solution in original post

3 REPLIES 3
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, i create a sample to test:

90.PNG

Then please try to create a column to show new type:

NewType = IF(CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Type]))/COUNTROWS('Table')<=0.1,"Other",'Table'[Type])

Choose pie chart, it shows:

91.PNG95.PNG

Then create a new page, choose [Type] as Pie chart, and apply a filter to it, it shows:

92.PNG

Turn on DrillThrough function:

93.PNG

When you choose 'Other' type in the first page, you can drill through to see its details:

94.jpg

Here is my test pbix file:

pbix 

Hope this helps.

 

Best Regards,

Giotto Zhi

Anonymous
Not applicable

v-gizhi-msft - Great solution. Thanks your help along with PBIX file. You are the best!

 

amitchandak
Super User
Super User

Refer :https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.