cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors