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
rfway
Helper I
Helper I

data colors

I am wanting to do a line graph of 180 companies, and want 179 of those to be black and my company to be red..is there an easy way to change all the colors at once?

1 ACCEPTED SOLUTION
BhaveshPatel
Community Champion
Community Champion

Please see THIS BLOG for  the formatting options in powerbi.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @rfway,

 

I'd like to share you a simple way to achieve your requirement.

 

Add a calculate column:

Type = if(LASTNONBLANK(Sheet1[User],[User])="User1","My Company","Other")

 

Drag this calculate column to legend and modify data color.

 Capture2.PNGCapture.PNG

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
BhaveshPatel
Community Champion
Community Champion

Please see THIS BLOG for  the formatting options in powerbi.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

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.