Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
i am using calendar(min(order_date),max(order_date)) for date table which is generating large table due to presence of order_ date column vaue '01-01-1900'. how to ignore this value in date table?
Solved! Go to Solution.
Please try this
Date =
VAR MinDate = CALCULATE(MIN(Table[OrderDate]), Table[OrderDate] <> DATE(1900, 1, 1))
VAR MaxDate = CALCULATE(MAX(Table[OrderDate]), Table[OrderDate] <> DATE(1900, 1, 1))
RETURN
CALENDAR(MinDate, MaxDate)
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Please try this
Date =
VAR MinDate = CALCULATE(MIN(Table[OrderDate]), Table[OrderDate] <> DATE(1900, 1, 1))
VAR MaxDate = CALCULATE(MAX(Table[OrderDate]), Table[OrderDate] <> DATE(1900, 1, 1))
RETURN
CALENDAR(MinDate, MaxDate)
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
86 | |
85 | |
84 | |
67 | |
49 |
User | Count |
---|---|
131 | |
111 | |
97 | |
71 | |
67 |