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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table of mostly dates. The first couple columns are employee identifiers (name, employee ID, Job, Department). The rest of the columns are renewable qualifications and when each one is expiring. Some quals are to be renewed annually, some on a two or three year cycle. The table shows the date when each qual for each employee is expiring.
I want to conditionally format the dates based on whether they are already expired (RED), or if they are current but will expire before end fiscal year - 31 Mar - (ORANGE), or if they will remain current past end current FY (GREEN). In excel, conditional formatting accepts formulas so the logic I used was as follows:
If DATE <= Today() | Color RED
Else if DATE > Today()
If current month is greater than 3
if DATE > 31, Mar, CurrentYear+1 | Color GREEN
Else if DATE <= 31, Mar, CurrentYear+1 | Color ORANGE
Else If current month is less than or equal to 3
if DATE > 31, Mar, CurrentYear | Color GREEN
Else if DATE <= 31, Mar, CurrentYear | Color ORANGE
This doesn't work in PowerBI since conditional formatting wants specific values. Any assistance on how this color-coding may be achieved in PBI?
Sample Data:
Hi,
Can you share some data or show how the data is organized? I can try to help you
Proud to be a Super User!
I have updated the original post with a screenshot of sample data. Had to remove sensitive info, but the jist of it is there.
Hi,
Please see if this is what you are looking for:
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 51 | |
| 45 |