I have the below given matrix
The requirement is that April, May and June all should be in different colours and then Proc total should be one colour and the Avg Total should be one colour.
I could give different colours to Proc Total and Avg but I could not apply it to labels and headers of Average as we can see in the above image. If I do so then it applies to the subtotal columns also. However we still cannot change the color of the labels for total avg.
Second is that for April, May and June, each one I need a different colour. To do so I created a dax and used it in conditional formating in rules.
Color =
var Month_Name = SELECTEDVALUE('Tag Usage Fact'[Month Name])
return
SWITCH(true(), Month_Name = "April", "#B3B3B3",
Month_Name = "May", "#F5C4AF",
Month_Name = "January", "Red",
Month_Name = "February", "Red",
Month_Name = "March", "Red",
Month_Name = "April", "Red",
Month_Name = "May", "Red",
Month_Name = "July", "Red",
Month_Name = "August", "Red",
Month_Name = "September", "Red",
Month_Name = "October", "Red",
Month_Name = "November", "Red",
Month_Name = "December", "Red",
Month_Name = "June", "#C46887")
But if there is no value in a cell the colour does not apply onto that cell.
Can someone please help with this situation please.
Solved! Go to Solution.
Hi, @Avivek
It is recommend that you create a separate date dimension table. You need to recreate matrix based on the date dimensions in calendar table and the fields in the fact table.
Best Regards,
Community Support Team _ Eason
Hi, @Avivek
It is recommend that you create a separate date dimension table. You need to recreate matrix based on the date dimensions in calendar table and the fields in the fact table.
Best Regards,
Community Support Team _ Eason
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
221 | |
46 | |
44 | |
44 | |
42 |
User | Count |
---|---|
276 | |
211 | |
82 | |
75 | |
63 |