Forum Discussion
spagad6263
Post Patron
4 years agoHow to stop Date Hierachy?
I've just added a date field to Matrix, and it automatically convert to hierachy format as Year >> Quarter >> Month >> Day. I only would like to show as [Year Month], so how this be done? Thanks. Bel...
- 4 years ago
Hi spagad6263
create a new column
YearMonth = YEAR ( TableName[Date] ) * 100 + MONTH ( TableName[Date] )
then use it in the visual
- 4 years ago
Hi,
Add new Column to your table that is indicated the YearMonth as below :
Year-Month = FORMAT([Date],"YYYYMM")Then use it in your Visual.You could use one of the below format for your columnYYYYMM : 202209YYYYMMM : 2022SepYYYYMMMM : 2022SeptemberYYYY-MMMM : 2022-September...
spagad6263
Post Patron
4 years agoThanks for the quick reply.