I have a table in power bi and I am trying to filter it using some column value.
I want to make the filter as dynamic as possible which means that I need a dax which filters the table using different columns based on the value of slicer (disconnected).
Please help me .
I have already written a DAX for FIltered Table.
FilteredTransformedData =
Var IndSlicer = IF(COUNTROWS(VALUES(Table5[Slicer]))=1, VALUES(Table5[Slicer]), TRUE())
RETURN FILTER(All('Transformed Data'), IF(Exact(IndSlicer,"Top10"),'Transformed Data'[group/Top10],IF(IndSlicer<>"",'Transformed Data'[group/Bottom10],true)))
Here , IndSlicer is always giving blank rows despite I am selecting the Slicer value.
I am not sure what is wrong here. Could anyone help me in this .
Regards,
Priyam