Date Power BI自定义列,检查值是日期还是文本

Date Power BI自定义列,检查值是日期还是文本,date,if-statement,powerbi,Date,If Statement,Powerbi,我试图在查询编辑器中添加一个自定义列,如果该列是日期,则返回该列的值;如果该值是文本,则返回null =if(isdate[Report Due Date]) then [Report Due Date] else null 我收到一条错误消息,isdate无法识别,有人能告诉我用于此的表达式吗?如此接近但如此遥远…谢谢!!如此接近却又如此遥远…谢谢!! = if ([Report Due Date] is date) then [Report Due Date] else null

我试图在查询编辑器中添加一个自定义列,如果该列是日期,则返回该列的值;如果该值是文本,则返回null

=if(isdate[Report Due Date]) then [Report Due Date] else null

我收到一条错误消息,isdate无法识别,有人能告诉我用于此的表达式吗?

如此接近但如此遥远…谢谢!!如此接近却又如此遥远…谢谢!!
= if ([Report Due Date] is date) then [Report Due Date] else null