To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Dear all,
I have created a measure that shows dynamic calendar, which ranges from first date to last date of certain report.
However errors popped out, can you pls shed a light on this measure? Thanks.
----------------------------------------------
Do you have auto date/time enabled? If so I think you would need to use
DynamicDate =
ADDCOLUMNS (
CALENDAR (
MIN ( 'TicketList'[Created].[Date] ),
MAX ( 'TicketList'[Created].[Date] )
),
"Year", YEAR ( [Date] ),
"Quarter", ROUNDUP ( MONTH ( [Date] ) / 3, 0 ),
"Month", MONTH ( [Date] ),
"Week", WEEKNUM ( [Date] ),
"Month Year",
YEAR ( [Date] ) * 100
+ MONTH ( [Date] ),
"WeekDay", WEEKDAY ( [Date] )
)
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |