Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Need help in DAX for Table Filter

$
0
0

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


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>