Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.