Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
pasupathi
Helper I
Helper I

group the data based on colors ( if you open the below link you can download pbix file)

Dear Helpers

when you download and open the file you will see some color formattig like "yellow","red".
i need to group by yellow color
i need to group by red color
after grouping i need to show both in charts   

https://drive.google.com/file/d/1Z2vVRu13bnCA0hgcK_T5El2iQsQhXuC7/view?usp=sharing

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @pasupathi ,

You could add a column by dax.

Group = IF([gap]<=0,"Group1","Group2")

The final show:

vyalanwumsft_0-1656657871175.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @pasupathi ,

You could add a column by dax.

Group = IF([gap]<=0,"Group1","Group2")

The final show:

vyalanwumsft_0-1656657871175.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

otravers
Community Champion
Community Champion

In Excel you can easily group rows by color but I haven't seen any similar functionality in Power BI. The way I'd approach this in Power BI is to base color-coding on a DAX measure that I would also use for grouping.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

 hi otravers
i didnt understand.the answer is yes or no 
regards
Dilip 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors