Forum Discussion

sshiny's avatar
sshiny
Helper II
4 years ago
Solved

Matrix-Column colour

Is it possible to give, all the sub-columns under April in a particular colour, May in a particular colour and June in a particular colour?  
  • sshiny's avatar
    4 years ago

    Dinesh The above measure dint work, however the below measure worked for me-

    Color =
    var Month_Name = SELECTEDVALUE('Tag Usage Fact'[Month Name])
    return
    SWITCH(true(), Month_Name = "April", "Green",
    Month_Name = "May", "Red",
    Month_Name = "Proc Total", "Red",
    Month_Name = "Average", "Red",
    Month_Name = "June", "Purple")