Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
For some unknown reason, I can't seem to get the data labels to change their colours they way I want.
I want different categories to have a different colour so white text on darker category color, and dark text on the lighter category colour
Playing around with a matrix, and cell elements conditoinal formattings, it works fine based on retreiving either the rows field value, or a measure which does a switch condition.
Currenlty within Power BI - Field value set to mcasesubjectfrontcolor, but all showing up white
Visual setup
Current out come .. All end up the same color..
Stack chart font not changing colour?
Proof that mcasesubjectfontcolor is setup, and works in matrix
Proof that field values work via Matrix
Expected outcome (ignoing the colours in the proof of concept, I am after is subject A = Front White, If Subject B = Font Blank ....)
Mocked up - Expected outcome
Data Labels do not support conditional formatting, you could custom it but not format it as conditional.
You could vote the same idea for your requirement and make this feature come sooner.
Regards,
Ritesh
Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 31 | |
| 27 | |
| 24 |