Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |