The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have several charts where I need to change the label colour based on the response, in order to achieve good contrast with the section colour. To achieve this I have a lookup table, that defines the colour of the label based on the value of the bar section.
For some reason this works correctly for some of the charts but not for others, and not consistently throughout every filter selection. The following are four different charts, in one case the horizontal chart works but not the vertical one, in the other case it's the other way around.
I have placed the text colour field on the tooltip to check that the right colour is coming through, and it is. I switched out the fields to define the colour just to make sure that the field is being read in and it clearly is, as the two correct colours are being used, just in the wrong place.
I've seen some reports of bugs with label colour from last year, but not sure if this is related as the problem is slightly different. Any ideas about what this could be or other steps I could take to test?
Solved! Go to Solution.
I managed to figure out what the issue was. For the charts that were not showing the label colours correctly, the colours were set to "reverse stack order". By using the sorting on the chart instead, the colours now display correctly.
I managed to figure out what the issue was. For the charts that were not showing the label colours correctly, the colours were set to "reverse stack order". By using the sorting on the chart instead, the colours now display correctly.
You can raise an issue at https://issues.powerbi.com . If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/
User | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
203 | |
82 | |
65 | |
48 | |
38 |