Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Conditional Formatting in Power Bi Report Builder

I created a paginated report in Power Bi Report Builder. I have a due date column that needs to be font conditionally formatted by Past due, due within 10 days and due within 30 days. Past due would be red, within 10 days would be orange and within 30 days would be green. I have figured out how to do the red past due but not the other two. Would it be separate codes? Or just one that included all? Any code suggestions please..Thank you.

Current code I am using:

=IIf(Fields!Due_Date.Value<Today(), "Red", "Black")