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
mbhatti
Frequent Visitor

How to create a Pie Chart using the same column but varying filters?

 

I want to create a simple pie chart that COUNTS (PART NUMBER) and the legend will show category by Mechanical, Hydraulic, and Electrical.

 

Problem is when I add "COUNTOF PART NUMBER" field to the "Values" and add "Department" to "Filters on this visual" I can only pick one item. Like I need to add "COUNTOF PART NUMBER" field to the "Values" 3 times, and have each repetitive count filter differnetly (i.e., Mechanical, electrical, hydraulic).

 

I've been running in circles for hours trying to create an entirely new table or new calcualted colum/field, but I just can't figure this out. Please help!

 

 

PART NUMBERDEPARTMENT
58F-50-00101RMECHANICAL
58E-50-00501RMECHANICAL
58E3210050SERVRMECHANICAL
EM8355RHYDRAULIC
94487240MECHANICAL
EM8355RHYDRAULIC
PB9839HYDRAULIC
PC2575HYDRAULIC
EM9639HYDRAULIC
EM8353RHYDRAULIC
99210540RHYDRAULIC
79327973HYDRAULIC
81325473HYDRAULIC
PB9008RHYDRAULIC
PB8995RHYDRAULIC
PB8995RHYDRAULIC
PB8995RHYDRAULIC
PB8995RHYDRAULIC
PB8995RHYDRAULIC
PB8995RHYDRAULIC
PB8995RHYDRAULIC
PB8995RHYDRAULIC
58B-50-40351RMECHANICAL
58B3200247SERVRMECHANICAL
EM8353RHYDRAULIC
58F-41-00010RHYDRAULIC
58B-50-40351RMECHANICAL
58B3200247SERVRMECHANICAL
PB9008RHYDRAULIC
58B-50-40351RMECHANICAL
58B3200247SERVRMECHANICAL
58F-50-00101RMECHANICAL
58F-41-00010RHYDRAULIC
PB8995RHYDRAULIC
GE0053RELECTRICAL
PB8995RHYDRAULIC
EM8844RMECHANICAL
PB8995RHYDRAULIC
PB8995RHYDRAULIC
EM8844RMECHANICAL
1 ACCEPTED SOLUTION
VijayP
Super User
Super User

@mbhatti  Hope you want this?

VijayP_0-1670221018515.png

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


View solution in original post

3 REPLIES 3
VijayP
Super User
Super User

@mbhatti  Hope you want this?

VijayP_0-1670221018515.png

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


VijayP
Super User
Super User

@mbhatti 

CAn you please mention what exactly outcome should be ! ( any pictorial reference will help)




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


It will just be a pie chart with 3 sections on legend:

 

Count of Mechanical Parts = 13

Count of Electrical Parts = 1

Count of Hydraulic Parts = 26

 

The Pie Chart will show 40 items total on it in 3 different sections/colors on legend.

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.