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

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.

Reply
PowerBI159
New Member

Data Format in Power BI Query Editor

Hello All,

I have a very simple data format requirement, but I am facing a challenge in Power BI to achieve it. Please find the details below.

Table A:

Fruits CategoryFruits NameFruits Color
OrganicAppleRed
OrganicAppleGreen
OrganicBanana

Green

OrganiGrapes

Green

Non OrganicAppleRed
Non OrganicAppleGreen
Non OrganicBanana

Green

Non OrganicGrapes

Green

 

Below is the Data Output Data Format I am trying

 

Fruits CategoryFruits NameFruits Color
Organic
OrganicAppleRed
OrganicAppleGreen
OrganicBanana

Green

OrganiGrapes

Green

Non Organic
Non OrganicAppleRed
Non OrganicAppleGreen
Non OrganicBanana

Green

Non OrganicGrapes

Green

 

Appreciate all your help!!!

 

Note: Color is not mandatory...

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Power Query does not support any coloring of data.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @PowerBI159 ,

 

To achieve your goal, it should be matrix style and you need to serialize it for your data, otherwise power bi will automatically aggregate it.

vtianyichmsft_0-1728007134715.png

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

Power Query does not support any coloring of data.

Helpful resources

Announcements
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.