Forum Discussion

MohannadSh1996's avatar
MohannadSh1996
Microsoft Employee
6 years ago
Solved

Using filtered values in slicer as a variable to filter other tables using DAX functions

I have many tables with Ring column. Ring R1 R2 R3 R4 I want to have a slicer for Ring to filter all the graphs without making any relationships between the tables and with supp...
  • Mariusz's avatar
    6 years ago

    Hi MohannadSh1996 

     

    Try this.

    FilteredValueFromTable2 = 
    CALCULATE(
        SUM('Table2'[Value]),
        TREATAS( VALUES( Table1[Ring] ), Table2[Ring] )
    )

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    LinkedIn