cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shakirkhanani Helper I
Helper I

Color Code Based on Column

The two columns belongs to the same table:
1. Web Order
2. Web Order Shipment No. (shipment number can be more than 1, due to bigger order)
is there any way to colour code (for example) them to quickly identify which Order belong to which Shipments.

Columns.png
Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft v-lionel-msft
Microsoft

Re: Color Code Based on Column

Hi @shakirkhanani ,
There is a way to solve your question.

d2.PNGd3.PNGd4.PNG

As you can see, I create a measure, which is used to distinguish and mark my dataDistinguish and mark my data. This step is very import.

Here is my measure:

Measure 2 = 
CALCULATE(
    SUM([Sale 2013]),
    ALLEXCEPT(
        Sales,
        Sales[Brand]
    )
)

 

And here's related articel:

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting 

 

Best regards,
Lionel Chen

 

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

2 REPLIES 2
Microsoft v-lionel-msft
Microsoft

Re: Color Code Based on Column

Hi @shakirkhanani ,
There is a way to solve your question.

d2.PNGd3.PNGd4.PNG

As you can see, I create a measure, which is used to distinguish and mark my dataDistinguish and mark my data. This step is very import.

Here is my measure:

Measure 2 = 
CALCULATE(
    SUM([Sale 2013]),
    ALLEXCEPT(
        Sales,
        Sales[Brand]
    )
)

 

And here's related articel:

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting 

 

Best regards,
Lionel Chen

 

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

shakirkhanani Helper I
Helper I

Re: Color Code Based on Column

Awesome! worked like a charm... Thank you so much.

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors