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
marisasoares
New Member

FILTER a table using a value calculated by a measure

Hello.

So I calculated a measure (and even a column) and when I represent it on a card or table the value is the one I want, so I don't think something is wrong with that measure. However I want to filter a table based on that value.
Example:

IdValue
1299
2299
3299
4300
5300
6300


If the measure value is 300, I want a table that contains only the ids 4, 5 and 6.

For that I created a new table and wrote this DAX formula:

Table = FILTER('TableB', 'TableB'[Value] = [Measure])

 

But the table is empty. However when I type 

Table = FILTER('TableB', 'TableB'[Value] = 300

the table is not empty and it's correct.

 

When I represent that Measure on a table, I get this (for example):

Measure
300

 

The measure is created on a different tableA.

 

Could someone help me please? Thank you 🙂
 
1 REPLY 1
FreemanZ
Super User
Super User

the real value of a measure depends on its context. the context is different in a card visual and a calculated table. 

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.