Forum Discussion
JustNewbie
3 years agoHelper I
Networkdays Date diff between two tables
Hi,
I have 2 different connected tables.
How do i include the Networkdays in the Dax below?
Days = DATEDIFF(RELATED(Packing[Date].[Date]),Shipping[Date ].[Date],DAY)
I try this but it give me errors
Days = Networkdays(DATEDIFF(RELATED(Packing[Date].[Date]),Shipping[Date ].[Date],DAY),1)
Help please... thank you.😊
- Anonymous3 years ago
you have created a column instead of a measure
For a column, it would go as below:
8 Replies
- JustNewbieHelper I
Can anyone help please?
- AnonymousNot applicable
Hey JustNewbie ,
Can you please share a screenshot of the relationship of these two tables and the error that you are getting- JustNewbieHelper I
Hi Anonymous screenshot below
How to make the error go away?
- AnonymousNot applicable
JustNewbie ,
Can you tryNetWD = NETWORKDAYS( MAX(Packing[Date]), MAX(Shipping[Date]))
Output below:
- JustNewbieHelper I
Hi, can anyone advise please?
- JustNewbieHelper I
Hi amitchandak can help me please?