Forum Discussion
Anonymous
5 years agoNot applicable
Displaying cards based on top 2 value dynamically
Hi guys, I am facing a challenge in displaying two card visual. I have four columns in my dataset i.e Division, category, manufacturer and sales. Division and category will be the slicers in ...
- 5 years ago
Anonymous
To exclude M1 from the rank, use:
Manuf. Rank = VAR _RANK= RANKX( FILTER(ALLSELECTED('Fact Table'), 'Fact Table'[Manufacturer] <> "M1"), [Sum Sales],,DESC,Dense) RETURN IF(ISINSCOPE('Fact Table'[Manufacturer]), _RANK) // To Exclude from the "Total" rowCreate your matrix, and exclude M1 in the filter for Manufacturer in the filter pane, and set the rank to "less than 3"
I've included the PBIX file for you to check out.
PaulDBrown
5 years agoCommunity Champion
Anonymous
To exclude M1 from the rank, use:
Manuf. Rank =
VAR _RANK= RANKX(
FILTER(ALLSELECTED('Fact Table'), 'Fact Table'[Manufacturer] <> "M1"),
[Sum Sales],,DESC,Dense)
RETURN
IF(ISINSCOPE('Fact Table'[Manufacturer]), _RANK) // To Exclude from the "Total" row
Create your matrix, and exclude M1 in the filter for Manufacturer in the filter pane, and set the rank to "less than 3"
I've included the PBIX file for you to check out.