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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors