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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.