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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.