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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
AllanBerces
Post Prodigy
Post Prodigy

Measure to Change Marker Color

Hi good day,

Pls can anyone help me to create the measure on how can i change the color of my marker. I have table below, what i want is turn the marker in to RED if the date already due and the Remarks is blank, turn GREEN if due or in coming if the remarks started.

AllanBerces_0-1722329893335.png

 

AllanBerces_1-1722329918206.png

 

Thank you

1 ACCEPTED SOLUTION

Instead of measure try creating calculated column

 

MarkerColor =
   IF(
       ISBLANK([Remarks]) && [DueDate] < TODAY(),
       "Red",
       IF(
           NOT(ISBLANK([Remarks])),
           "Green",
           "DefaultColor"  // You can set a default color if needed
       )
   )



Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

4 REPLIES 4
bhanu_gautam
Super User
Super User

@AllanBerces , You can create a measure 

MarkerColor =
   IF(
       ISBLANK([Remarks]) && [DueDate] < TODAY(),
       "Red",
       IF(
           NOT(ISBLANK([Remarks])) && [DueDate] >= TODAY(),
           "Green",
           "DefaultColor"
       )
   )
 
Add this measure to visual and setup conditional formatting



Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi @bhanu_gautam by the wat Remarks and Date are in column.

 

Thank you

Instead of measure try creating calculated column

 

MarkerColor =
   IF(
       ISBLANK([Remarks]) && [DueDate] < TODAY(),
       "Red",
       IF(
           NOT(ISBLANK([Remarks])),
           "Green",
           "DefaultColor"  // You can set a default color if needed
       )
   )



Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






HI @bhanu_gautam thank you for your reply, but the one you sent not working, the error show

"the value for "Remarks" cannot be detirmined. 

Thank you

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors