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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
FAW71
Regular Visitor

Conditional formatting not consistent

I have a table column with the due date in it. I have another column that has a calculated value of "Past Due" or "Due". The due date column has the conditial format set so that if the due indicator is past due, show red, if the due indicator is Due show blue. But it's not working. See below; both records are past due but the due date column is not red for one of them.

 

BIDueConditialFormat.png

 

BIDueConditialFormatScreen.png

1 ACCEPTED SOLUTION
FAW71
Regular Visitor

@tharunkumarRTK & @lbendlin 

I don't know what happen but when I refreshed my data today the colors started working correctly.

View solution in original post

7 REPLIES 7
danextian
Super User
Super User

Hi @FAW71 

For all the non-summarized dimensions added to the table visual, there could be more than one vaues of Due Indicator in each row. Have you checked whether both Due and Due Indicator columns are using the same summarizaton?





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
v-shchada-msft
Community Support
Community Support

Hi @FAW71,

Thank you for the update. We're glad to hear that the colors are now working correctly.

If you have any more questions in the future, please feel free to create a new post. We're always happy to help.

Thank you.

FAW71
Regular Visitor

@tharunkumarRTK & @lbendlin 

I don't know what happen but when I refreshed my data today the colors started working correctly.

FAW71
Regular Visitor

@tharunkumarRTK 
There is nothing applied to the visual, just clean columns.

 

FAW71
Regular Visitor

@lbendlin 

 

Here is my past due logic

Due Indicator = 
IF(
    
        'Action Items'[Due].[Date] < TODAY() &&
        'Action Items'[Status] <> "Completed" &&
        'Action Items'[Status] <> "Approved",
        "Past Due",
        "Due"
)

 

tharunkumarRTK
Super User
Super User

@FAW71 

 

Is there any aggregation applied on "Due Indicator" column after placing it into the table visual? if yes it is "First" or "Last"? if it is last then you need to consider keeping the same type of aggregation in your conditional formatting logic as well. At present from the screenshot that you shared, it seems you applied "First" as aggregation. 

 

 

 

 

 

Connect on LinkedIn

Read my blogs here: TechieTips

 

 

 








Did I answer your question? Mark my post as a solution!
If I helped you, click on the Thumbs Up to give Kudos.

Proud to be a Super User!


PBI_SuperUser_Rank@2x.png

 

lbendlin
Super User
Super User

What's the formula behind the Due Indicator?

 

Seems to work fine with static fields

 

lbendlin_0-1779482627707.png

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.