Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的时间维度表中有一个 DateTime 列。我想将其显示为 MM/DD/YYYY 并隐藏时间组件(无论如何都是 00:00:00)。
我该怎么做呢?
Raj,我不会更改此特定字段,因为在浏览或从部署的多维数据集中提取数据时,它可能会导致排序和计算问题。我要做的是在您的时间维度中添加另一个字段,例如...SHORT_DATE,然后简单地将其设为 varchar(10)。我总是在我的 [TIME] 维度中保留至少一个适当的日期时间,以供日期相关使用。