Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.