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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
msam86
Helper I
Helper I

Conditional with dynamic values

Hello friends, how are you? With your help I was able to implement the status of one piece of equipment per year in a pie chart.

 

Now I wanted to implement another pie chart, where I can add up the equipment, regardless of the status. With the 2 graphs I can see the associated information.

 

Ex: 2024

msam86_0-1718714661280.png

Ex: 2025

msam86_1-1718714675917.png

 

I inserted a spreadsheet to demonstrate what I need in the pie chart. The number of equipment will not change, but I need this relationship between the graphs to view the information

 

Ex: 2024

msam86_2-1718714757580.png

 

When I switch to 2025:

msam86_3-1718714853077.png

Can any friend help me?

Regards

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @msam86 

 

Try the following Measure:

 

Measure 2 = 
VAR select_client = SELECTEDVALUE(Dados[Client])
RETURN
COUNTX(
    FILTER(ALL('Dados'),[Client]=select_client),[Client])

 

 

 

vjialongymsft_0-1719826379331.png

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
msam86
Helper I
Helper I

Hello my friends,

Can anyone help? 
Regards

Anonymous
Not applicable

Hi @msam86 

 

Try the following Measure:

 

Measure 2 = 
VAR select_client = SELECTEDVALUE(Dados[Client])
RETURN
COUNTX(
    FILTER(ALL('Dados'),[Client]=select_client),[Client])

 

 

 

vjialongymsft_0-1719826379331.png

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @msam86 

 

All you need to do is put the fields from your existing table into the pie chart.

vjialongymsft_2-1718763390210.png

 

vjialongymsft_0-1718763364977.pngvjialongymsft_1-1718763371817.png

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous , I understand what you said, but I need another pie chart with customer information. For example, I need to see A = 33, B = 9, C=4....

Regards

Anonymous
Not applicable

Hi @msam86 

 

Drag the column "equipment" into Legend.

vjialongymsft_0-1718847291759.pngvjialongymsft_1-1718847305392.png

 

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous . I shared my example. These numbers are provided by dynamic metric.

 

test_sum.pbix

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.