Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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 |
---|---|
8 | |
8 | |
5 | |
5 | |
3 |