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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors