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

How do I create a chart that shows all the projects under the common product (category)?

Context: I am creating a project management dashboard. We have many Projects under 1 Product - a many to 1 relationship. For example, Consumer Mobile App is 1 Product, but there can be many projects under this Product/Category, e.g. check-out process, product catalogue, etc.

 

I want to create a Pie Chart, where when I select 1 project on table, the Pie Chart will show me all the projects under the common Product as the project I initially selected in the table. Relating it back to the example provided in the context. If I select "Check-out Process," the Pie Chart will illsutrate all of the projects under "Consumer Mobile App."

 

Another layer to this would be, if no projects are selected, I'd like the pie chart to show nothing.

 

Thank you everyone for your help.

Question: How do I do this? Do I create a new masure, is this possible?

2 REPLIES 2
Anonymous
Not applicable

hi @hhhsuscchk ,

 

Consider you have table like this below

alekhved_0-1624994206519.png

 

Create a calculated column

 

_Rev = if(ISFILTERED('Table'[State]),CALCULATE(sum('Table'[REvenue]),ALLCROSSFILTERED('Table'),FILTERS('Table'[Country])),0)
 
When you Select Georgia, the pie chart would look like
 
alekhved_1-1624994317713.png

 

When None selected 

alekhved_2-1624994337592.png

 

Hope this helps!!!

 

Kindly accept the solution if it works!!! and give Kudos if you like!!!

Hello,

 

Thank you very much for your assistance! A few points to clarify.

1. Is this possible if selections are made on values of another chart, e.g. another pie chart, or bar chart.

2. Is it possible for the Pie Chart to show the breakdown of the US by the States?

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.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors