Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hello,
it seems very simple, but i really don't knwo how to do this...
I have this data :
In powerbi i can do this (really simple) :
but i want this (if the merge by name contains several terms of duration (as the name C3) each terms of supbart before summation must have a different color) :
Thanks a lot (and sorry for my english if you dont understand).
Solved! Go to Solution.
In your query, you can add a subgroup index column and then use it as the legend in your visual (you can then hide the legend as it won't have any meaning). See article for how to do it.
Create Row Number for Each Group in Power BI using Power Query - RADACAD
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
In your query, you can add a subgroup index column and then use it as the legend in your visual (you can then hide the legend as it won't have any meaning). See article for how to do it.
Create Row Number for Each Group in Power BI using Power Query - RADACAD
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
genial =D i accept your solution !
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.