Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Try ISBLANK() instead of <> BLANK().
VAR _test =
ISBLANK(Contracten[Verwachte datum contract km bereikt])
Also, are you sure it is blank? You might want to read this article on blanks, nulls, empty (""), etc.
EDIT: I didn't notice how you were using the variable later. I think @az38 has nailed the issue.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingHi @Anonymous
your _test variable returns BOOLEAN what that cannot be used as second argument in DATEDIFF()
what value do you need there?
whats your desired result for row with Contracten[Verwachte datum contract km bereikt] <> BLANK() ?
HI @az38 I would try the value (date) of the rows except the blank rows of Contracten[Verwachte datum contract km bereikt]
Regards,
Ezz
@Anonymous
maybe it will be enough to try a simple version of yours statement? Like
ColumnName =
IF(
Contracten[Verwachte datum contract km bereikt] <> BLANK()
&& DATEDIFF ( UTCTODAY (); Contracten[Verwachte datum contract km bereikt]; MONTH ) <= 4;
"EindContractKM ";
BLANK ()
)
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 |
|---|---|
| 94 | |
| 70 | |
| 50 | |
| 40 | |
| 39 |