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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.