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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
hm13
Frequent Visitor

Yes/No Data Structuring

I'm working on a PowerBI report that is based on a dataset that contains 20+ columns containing 'yes/no' questions. I would like to make a pie chart visual that can show the count and percentage of the rows in these columns that have a value of 'no' while having a legend that separates these counts by the column.

I have a way of making this pie chart, but it is very tedious and it doesn't allow for me to have a dynamic legend that can only show the values that are non zero.

 

Please let me know of any ideas or implementations for this.

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @hm13 ,

Could you please provide more raw data in your table with 20+ columns (exclude sensitive data) with Text format, pie chart Fields settings and your expected result with backend logic and special examples. It would be helpful to find out the solution or an workaround. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
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

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @hm13 ,

Could you please provide more raw data in your table with 20+ columns (exclude sensitive data) with Text format, pie chart Fields settings and your expected result with backend logic and special examples. It would be helpful to find out the solution or an workaround. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi, I believe I found a workaround for my problem. I will make sure to share a simplified pbix file for my future posts. Thank you!

Hi @hm13 ,

Thanks for your reply. Looking forward to your new post. 

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors