Forum Discussion

ARob198's avatar
ARob198
Helper IV
6 years ago
Solved

Filter sum by another table

I have a problem that seems like it should be easy, but I can't seem to get the formula right.    I have two tables.  One has values by asset by date, the second defines the type of asset.  I need ...
  • v-lili6-msft's avatar
    v-lili6-msft
    6 years ago

    hi  ARob198 

    Do you mean that you do a filter in visual level filter and then use the measure result in another Measure?

    If so, you need to add the same filter into that visual too, the measure result in based on it row context and filter context.

     

    otherwise, you could define it in the measure like this

    Measure =CALCULATE( SUM('Table 1'[Value]),'Table 2'[Type]="Cash")
    

    But this will not interaction by slicer.

     

    Regards,

    Lin