Forum Discussion

amgelain's avatar
amgelain
Regular Visitor
2 years ago
Solved

DATEDIFF

Hello,

 

In the table there is column A with the start date and column B with the end date. When creating a measure in dax starting with DATEDIFF to find the difference between dates, these do not appear to be included in the formula. What can it be?

 

DATEDIF = DATEDIFF(Tabela[Date1], Tabela[Date2], DAY)

 

Thank you in advance for your help.

 

3 Replies

    • amgelain's avatar
      amgelain
      Regular Visitor

      Hello,

      It worked out! thank you very much.

  • the code for calculated column is fine, but would be an issue for a measure. 
     
    could you show how the measure is presented?