Forum Discussion
Anonymous
2 years agoNot applicable
Conditional Formatting Matrix with DAX
I created this matrix that almost looks like I want but I am having trouble with the conditional formatting.
I am trying to use conditional formatting to change the 'Due Date' to be transparent at the highest level of the matrix and show when I expand. I'm finding that when I only have one item in the drill down that my conditional formatting doesn't work.
Transparent = if(ISBLANK(SELECTEDVALUE(RCA_All_Actions[UI_Description])),"#FFFFFF00","#000000")
Hello,
I imagine that if you use aHASONEVALUE('Table'[UI_Description])||ISBLANK(SELECTEDVALUE('Table'[UI_Description])) condition in your measure, it should work properly.
I tested this measure and it worked properly for me.Measure = SWITCH(TRUE(),HASONEVALUE('Table'[UI_Description])||ISBLANK(SELECTEDVALUE('Table'[UI_Description])),"#FFFFFF00","#000000" )Thank you. If you think this solution helped, please accept it as a solution and your kudos will be much appreciated!
1 Reply
- MoetazzahranResolver II
Hello,
I imagine that if you use aHASONEVALUE('Table'[UI_Description])||ISBLANK(SELECTEDVALUE('Table'[UI_Description])) condition in your measure, it should work properly.
I tested this measure and it worked properly for me.Measure = SWITCH(TRUE(),HASONEVALUE('Table'[UI_Description])||ISBLANK(SELECTEDVALUE('Table'[UI_Description])),"#FFFFFF00","#000000" )Thank you. If you think this solution helped, please accept it as a solution and your kudos will be much appreciated!