cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors