要用函数吗?还是其他功能?
todate(format(日期字段,"yyyy-MM-dd")) 用todate和format函数就行,注意好日期字段
格式化时间
日期函数-http://help.finebi.com/doc-view-7.html
那就添加一列把时间去掉,只保留日期
比如2022-10-11 12:00:01
保留日期的方法是添加一个公式列,left( 上面这个日期字段,10)
注意字段类型设置为时间格式
参考DATESUBDATE-日期时间差-https://help.fanruan.com/finebi/doc-view-1411.html
DATEDIF-日期差-https://help.fanruan.com/finebi/doc-view-1402.html
都可以只返回日期,不计算时分秒