cancel
Showing results for 
Search instead for 
Did you mean: 
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
Resident Rockstar
Resident Rockstar

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.
------------------------------------------------
More tips and guidance in my Power BI architecture and development blog

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

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors