Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I am trying to replicate an excel formula into dax and am having some issues. Here is the excel formula:
Excel: =if(start date <= current date, MIN((1/(End Date-Start Date+1)),1),0)
I have not found a great way to replicate this.
Thank you!
Solved! Go to Solution.
@cpatton10 Well, as a column that would be:
IF( [start date] <= TODAY(), MIN(1/([End Date] - [Start Date] + 1),1), 1, 0 )
@cpatton10 Well, as a column that would be:
IF( [start date] <= TODAY(), MIN(1/([End Date] - [Start Date] + 1),1), 1, 0 )
@Greg_Deckler That column is not returning what it should. I am not sure where to go from here. Sorry for the confusion.