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
mim
Advocate V
Advocate V

measure to retrieve the selected value in the same Table

I want to build a measure that return the selected value in the same viusal for example, if the user select france, then the measure return 30 and ignore the filter context of the dimension country.

probably it is easy, but can't figure out how to escape the filter context, tried disconnectd table without success.

thanks 

mim_0-1594088016421.png

 

5 REPLIES 5
v-eachen-msft
Community Support
Community Support

Hi @mim ,

 

I don't think it is possible in the same table. When you click on this row, the context has been filtered. You could do it with slicer or in another table.

1-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

 Thanks, I know it can be done in another table, but in this particular use case, it has to be in the same table, trying to reproduce a Tableau report, all good

Anonymous
Not applicable

interesting but does not seem possible!

amitchandak
Super User
Super User

@mim ,

Try like

measure =
var _m1 = sumx(allselected(Table),Table[value])
return
calculate(_m1,all(Table))

 

or

 

measure =
var _m1 = sumx(allselected(Table),Table[value])
return
calculate(_m1,removefilters(Table[country]))

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

 

it does not work, when I click on italy, I expect the measure to return 55 for all rows

mim_0-1594089548853.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors