Forum Discussion
ashely_nave
2 years agoNew Member
If statement with date
I have linked to our new maintenance system in PowerBi. I am trying to automate the machine downtime metric. In the calculation date field, I have an IF statement that says Calculation Date = if(i...
- 2 years ago
Please try the following formula:
Start Date = var startOfThisMonth = EOMONTH(TODAY(), -1) + 1 return IF('Table'[created_at] < startOfThisMonth, startOfThisMonth, 'Table'[created_at])
ashely_nave
2 years agoNew Member
Thank you so much!