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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
v-junyant-msft
Community Support
Community Support

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?

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors