This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA 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.
Hi Team
I'm trying to create a calculated column based on the below logic and wondering if anyone can help?
The new Column will be the overdue in yellow.
Any help is appreciated.
Cheers
Zach
Solved! Go to Solution.
hello @ZachUnger
as far as i know, SWITCH() works similarly like IF(), so it will process the first line then second line and so on.
that happens because you have date info sent value less than today (initially this what i thought but looks like you want to have "No" if there is value in date info sent not matter what the value is).
Try removing this line or line 5 in your DAX, it should fix the issue.
Overdue =
SWITCH(
TRUE(),
'Table'[Date info sent]<>BLANK()&&'Table'[Date info sent]>TODAY(),"No",
'Table'[Required by]>TODAY(),"No",
'Table'[Extended to]<TODAY(),"Yes",
'Table'[Required by]<TODAY()&&'Table'[Extended to]>TODAY(),"No",
'Table'[Required by]<TODAY()&&'Table'[Extended to]<TODAY(),"Yes"
)
Hope this will help.
Thank you.
hello @ZachUnger
does SWITCH plausible to be used for your goal?
Overdue =
SWITCH(
TRUE(),
'Table'[Date info sent]<>BLANK()&&'Table'[Date info sent]>TODAY(),"No",
'Table'[Required by]>TODAY(),"No",
'Table'[Extended to]<TODAY(),"Yes",
'Table'[Required by]<TODAY()&&'Table'[Extended to]>TODAY(),"No",
'Table'[Required by]<TODAY()&&'Table'[Extended to]<TODAY(),"Yes"
)
Hope this will help.
Thank you.
Hi Irwan
This is working except for if date info sent, if this column has a date shouldn't show as overdue. May be asking it to do too much...
hello @ZachUnger
as far as i know, SWITCH() works similarly like IF(), so it will process the first line then second line and so on.
that happens because you have date info sent value less than today (initially this what i thought but looks like you want to have "No" if there is value in date info sent not matter what the value is).
Try removing this line or line 5 in your DAX, it should fix the issue.
Overdue =
SWITCH(
TRUE(),
'Table'[Date info sent]<>BLANK()&&'Table'[Date info sent]>TODAY(),"No",
'Table'[Required by]>TODAY(),"No",
'Table'[Extended to]<TODAY(),"Yes",
'Table'[Required by]<TODAY()&&'Table'[Extended to]>TODAY(),"No",
'Table'[Required by]<TODAY()&&'Table'[Extended to]<TODAY(),"Yes"
)
Hope this will help.
Thank you.
Perfecto! Thanking you kindly!
you can create a conditional column or measure like this:
DateStatusMeasure =
IF(
ISBLANK(MAX(TableName[DateField])),
"No Date",
IF(
MAX(TableName[DateField]) < TODAY(),
"Past",
"Future"
)
)
modify it according to your needs
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 28 | |
| 24 | |
| 22 |