Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Problems with comparing time with If formula

For a project i have compare times. My formula looks like this 

And the Data looks like this: 

Both column have the same following settings 

I would expect that if test is before test2 that it would give a 1 instead of a 0. I have searched online, but cannot find what possibily is going wrong, can someone help me? 

1 Reply

  • Hi Anonymous ,
    Try below dax in calculated measure:

     

     

    Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

    Proud To Be a Super User !!!
    LinkedIn