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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
FAW71
New Member

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

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
New Member

@tharunkumarRTK & @lbendlin 

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

FAW71
New Member

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

 

FAW71
New Member

@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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.