Forum Discussion

ss89's avatar
ss89
Helper II
3 years ago

IF DAX

Hello Community,

 

I need to calculate the late release based on the following formulas:

 

Late Release = IF(table[closed_dt]>table[Target_Date],1,0)

 

 

The first row should not be counted as a delay because I asked in the formula to count as a delay only what exceeds the target date.

What should I edit in the formula?

 

Thanks in advance for your support!

4 Replies

  • DOLEARY85's avatar
    DOLEARY85
    Resident Rockstar

    Are you creating it as a column on measure?

     

    if you create as a column it should calculate correctly:

     

     

    • ss89's avatar
      ss89
      Helper II

      Hello,

      thanks for your prompt reply.

       

      Yes, I created a new column, column closed date and target date are format Date.

       

      I don't know why it's not working

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ss89 ,

     

    Could you please tell me that if your problem has been solved?

    If not, please provide me with more details about it, such as screenshots with the problem.

    Take care to protect data privacy. 

       

                                                                                                                                                             

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.