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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
matka123499
Frequent Visitor

Color formatting

Hello,

 

So I have power BI overview of different clients and their products and prices. I put all these into line graph however now I am getting mix of products prices of all clients (if not filtered to just one client) and each price has different color.

 

I would like to clean up the graph and just have one color chosen for one client and for all of their product prices. So if I filter out Client 1 and Client 2 I will see bunch of product prices on graph but only green and blue color lines depending under wich client the product is

 

Can you please help me?

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @matka123499 ,

@rubayatyasmin Thanks for your concern about this case!

After my test, you can try to build the Line graph like this:

vjunyantmsft_0-1713752931262.png

X-axis is product, Y-axis is price and Legend is client. Then we can see that each line is a different color, each color represents a client, and the product under each client is in one color.
If I filter out Client 1 and Client 2:

vjunyantmsft_1-1713753100893.png

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

thank you but this will only work if I sum the product prices. I cannot have more individual lines for products for one client the same color?

Anonymous
Not applicable

Hi @matka123499 ,

Sorry but can you show me you sample data and your expected results?
I can't understand what your needs are.

Best Regards,
Dino Tao

rubayatyasmin
Super User
Super User

@matka123499 

 

I suggest you use bar chart for this Viz. Line chart seems less suitable in this scenario. Place Product col in the Y axis, and price in X axis. Client in the legend. 

 

Now go to formats pane and select bar option to choose unique colour for each client. 


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Solution Authors