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.
希望从日期列中获取当前月份和年份。
下面一个不起作用:
FORMAT(Date(MONTH(Dim.DateTable.Date.Today())),"MMMM")
如果你想要一个只有月份的额外列,你可以使用:
FORMAT(yourTable[yourDateColumn],"MMMM")
如果您希望一个日期在您的报告中显示为 MMMM yyyy,请选择该列,单击选项卡建模并在那里选择该列的格式。