Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am trying to create a column with the requirement. I want to filter out the rows where Date1<Date 2 only when Date1 has Data
If Date1 is blank and if Date1>Date2 then "True" else "False".
Getting error "DAX comparison operations do not support comparing values of type Date with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values".
I have tried the same logic with whole number instead of True and false still getting the same error.
Hi @Anonymous ,
Please check whether the type of date1 or date2 is the same.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for the response, I have applied
Column 2 =
IF(
'Lead'[Date1]="",
"",
IF(
'Lead'[Date1] < 'Lead'[Date2],
"0",
"1"
)
)
Getting Error "DAX comparison operations do not support comparing values of type Date with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values".
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |