Forum Discussion

JustNewbie's avatar
JustNewbie
Helper I
3 years ago
Solved

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.😊

  • Anonymous's avatar
    Anonymous
    3 years ago

    you have created a column instead of a measure

    For a column, it would go as below: 

     

8 Replies