Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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...