Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to Color A Scatter Plot Distribution By Date

Hello All.  I'm new to Power BI.   I have built a scatter plot distribution chart.  I have a numerical value on the x-axis and a jitter on the y-axis.  I can't figure out (if it's possible) how to ...
  • v-xulin-mstf's avatar
    5 years ago

    Hi Anonymous

     

    Please try measure as:

    Measure = 
    IF(
        MONTH(MAX('Table'[Date]))=1,
        "red",
        "blue"
    )

    You can also use 'Year(MAX('Table'[Date]))=2021' or 'MAX('Table'[Date])="2021,08,01"'.

    If you still have some question, please don't hesitate to let me known.‌‌

     

    Best Regards,

    Link

     

    Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!