The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
Hi @Anonymous ,
You can create a calculated column as below to get it assume that you have one date table in your model:
Due Date =
MAXX (
TOPN (
'Table'[Day term],
FILTER (
ALL ( 'Date' ),
WEEKDAY ( 'Date'[Date], 2 ) < 6
&& 'Date'[Date] > 'Table'[Order date]
),
'Date'[Date], ASC
),
'Date'[Date]
)
Best Regards
Hi @Anonymous ,
You can create a calculated column as below to get it assume that you have one date table in your model:
Due Date =
MAXX (
TOPN (
'Table'[Day term],
FILTER (
ALL ( 'Date' ),
WEEKDAY ( 'Date'[Date], 2 ) < 6
&& 'Date'[Date] > 'Table'[Order date]
),
'Date'[Date], ASC
),
'Date'[Date]
)
Best Regards
Does your data model include a calendar table with a column identifying work days, weekends and holidays?
What granularity do you need? Whole days, hours, something else?
User | Count |
---|---|
77 | |
76 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
79 | |
57 | |
48 | |
48 |