Forum Discussion
Andres_Maldo
4 years agoFrequent Visitor
Grouping measures in a matrix
Hi, Guys. I have 4 measures (ROI, EBITDA, KPI 1, KPI 2) and I would like to classify in groups: FINANCE: ROI, EBITDA SALES: KPI 1, KPI 2 And I woud like to get this matrix: I appreci...
- 4 years ago
You can format each in the new measure. Please check the file again.
Andres_Maldo
4 years agoFrequent Visitor
Hi, ALLUREAN.
Thanks, but I have measures instead of columns. And I need to be measures. I am wondering is there is a way to group these measure in a matrix.
ALLUREAN
Solution Sage
4 years agoI use your 4 measures into one, not columns
- Andres_Maldo4 years agoFrequent Visitor
Thanks, I see. That´s an interesting approach, but what if I want KPI1 as a decimal number, KPI2 as a whole number and ROI as a percentaje? And I want to use conditional formatting in just one measure?
- ALLUREAN4 years ago
Solution Sage
You can format each in the new measure. Please check the file again.
- Andres_Maldo4 years agoFrequent Visitor
Hi, ALLUREAN.
I used a similar dax for colors, and it worked for conditional formatting.
Colors =VAR Selected = SELECTEDVALUE(HeaderTable[Level2])var x = IF(HeaderTable[ROI] > 0.10, "#A0D1FF")var y = IF(HeaderTable[KPI1] > 30, "green", "red")RETURNSWITCH(TRUE(),Selected = "ROI", x,Selected = "KPI1", y)