Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
How to to change the marker color of an area chart against monthly or yearly sales goals in Power BI?
Hi @Rajeshs_WB ,
Based on your description, I created this test data:
Create two measures
SumByMonth =
CALCULATE(
SUM('Table'[Target]),
ALLEXCEPT(
'Table',
'Table'[Month]
)
)
SumByYear =
CALCULATE(
SUM('Table'[Target]),
ALLEXCEPT(
'Table',
'Table'[Year]
)
)
Create a area chart
If you want to change the color of the legend based on the year or month, you can open Format->Markers->Colors
Of course you can also use it with Line color
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
How to to change the marker color of an area chart against monthly or yearly sales goals Met or UnMet in Power BI?
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
User | Count |
---|---|
92 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
110 | |
96 | |
95 | |
64 | |
57 |