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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
jamuka
Helper IV
Helper IV

Filter a visual based on selected measure from another visual

I have a table which shows product availability and their forecasts.

I'd like to show ratio of "out of stock forecast amount" versus "total forecast amount".

When user select a row in this matrix, In a second matrix I want to show only the lower values then the selection in first matrix.

I created the first matrix but for second one I tried to use "Selectedvalue" function but it only works with columns not measures, so I stucked.

 

here is a sample file.

 

regards

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jamuka , we can not pass measure values across

 

But selection can reduce the value

You can use like

 

measure  =

var _max = calculate([M1], allselected() )

return 

if([M1] <_max, [M2], blank())

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@jamuka , we can not pass measure values across

 

But selection can reduce the value

You can use like

 

measure  =

var _max = calculate([M1], allselected() )

return 

if([M1] <_max, [M2], blank())

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

thank you @amitchandak 

it worked.

 

have a nice day

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.