Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Not sure if this is possible:
I am trying to highlight cells in a table where
1) If the date is in the past, then green color
2) If the date is in the future, but it is the closest to today compared to other date fields, then blue color
3) If the date is in the future, but it is NOT the closese to today compared to other date fields, then yellow color
Solved! Go to Solution.
Hi,
PBI file attached.
Hope this helps.
Hi @jxkang ,
Thank you for reaching out to Microsoft Fabric Community.
Thank you @Ashish_Mathur, @Greg_Deckler and @srlabhe for the prompt response.
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user's for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
Hi @jxkang ,
We wanted to kindly follow up to check if the solution provided by the user's for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
Create a measure
DateFlag=if (Date1<today() then 1,
if(Date2=today() then 2, 0)
use this measure for conditional formatting
not sure the criteria for Date closer so accordingly change the same
@jxkang Is that what your source data looks like or ?
Hi Greg,
Yes, the dates are in different columns
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 35 | |
| 35 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |