Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi there
I am trying to highlight a highest(green) and lowest(red) colour on my stacked column chart visual.
My ideal visual should like the image attached whereby D is the group with the largest quantity and so is green in colour, and B is red as it's the lowest quantity, the rest are blue.
I have created a new measure:
Solved! Go to Solution.
Hi , I realised that the code actually worked. What was stopping it from working was that I had previously had the 'Group' column sorted by another column in the data section. After removing that, then my colours appeared in the visual.
Attached is the report
Hi @em12963,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Hi , I realised that the code actually worked. What was stopping it from working was that I had previously had the 'Group' column sorted by another column in the data section. After removing that, then my colours appeared in the visual.
Attached is the report
HI @em12963,
I'm glad to hear you find the reason and share the solution here, they will be help others who faced the similar issues.
Regards,
Xiaoxin Sheng
User | Count |
---|---|
140 | |
113 | |
104 | |
73 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |