Forum Discussion
Applicable88
Impactful Individual
5 years agoDate function in nested If-statement, but changing after certain time
Hello, I tried many ways to calculate a dynamic time problem, but the calculated column in M language giving me trouble. I use following if statement: if ([deliverydate]<=Date.From(DateTime.Loca...
- 5 years ago
Found my solution. Defintely add another time function base on the system now() time where it compares what time of the time range it is at automatic dataset refresh. So that it will use the right nested statement according to the time of today.
amitchandak
Super User
5 years agoApplicable88 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Applicable88
Impactful Individual
5 years ago