Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

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} )

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! 🙂

  • 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. 

1 Reply

  • tamerj1's avatar
    tamerj1
    Icon for Community Champion rankCommunity Champion

    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.