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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors