Forum Discussion
MohannadSh1996
Microsoft Employee
6 years agoUsing 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...
- 6 years ago
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
Mariusz
Community Champion
6 years ago
Never happened to me before with any Function as it is not related, but you can format your date time column as below.
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
MohannadSh1996
Microsoft Employee
6 years agoMariusz, The problem was that the Table1 is missing one of the Ring values that was exist in the other table, so, all the date related to this Ring will not be shown which will cause a trimming of data. (Fixed)
amitchandak& Anonymous, thanks for your answers 😊