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.
我在 VS 中有商业智能项目项目。我创建了多维数据集,当我浏览数据并生成报告时,我有格式为 1、2、3、4 的宿舍。我想以 Q1、Q2、... 格式显示季度
当我改变季度格式时,我仍然会得到格式 1,2 的季度......
例子:
如何改变它?
我找到了解决方案。
为此,需要在表中计算列,我们需要这个表达式:
case when CalendarQuarter = ‘1’ then ‘Q1’ when CalendarQuarter = ‘2’ then ‘Q2’ when CalendarQuarter = ‘3’ then ‘Q3’ else ‘Q4’ end