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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

filter one column in one table to another column in another table

Henlo,

 

I am needing to add a measure that filters out data from my matrix. I am needing only rows returns that match this criteria (
{IM_ItemWarehouse.WarehouseCode} = {CI_Item.DefaultWarehouseCode} )

IGotTheP0werBI_0-1673383869233.png

I know how I can do this in power query but I have other visuals that do not require the same filtering. 
Can someone help me with how I would create a measure to accomplish this? 

 

Oodles of thanks in advance! 🙂

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 

please try

FilterMeasure =
IF (
SELECTEDVALUE ( CI_Item[DefaultWarehouseCode] )
IN VALUES ( IM_ItemWarehouse[WarehouseCode] ),
1
)

place it in the filter pane of the table visual and select "is not blank" then apply the filter. 

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Anonymous 

please try

FilterMeasure =
IF (
SELECTEDVALUE ( CI_Item[DefaultWarehouseCode] )
IN VALUES ( IM_ItemWarehouse[WarehouseCode] ),
1
)

place it in the filter pane of the table visual and select "is not blank" then apply the filter. 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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