Sorry, but I'm out here. Hope that someone else picks this up (otherwise you might consider opening a new thread)
This code isn't working either:
Now = DateTime.LocalNow(),
Yesterday = Date.AddDays(Now, -1),
Date = DateTime.ToText(Yesterday, "dd-MM-yyyy hh:mm") ,
Date2 = DateTime.ToText(Now, "dd-MM-yyyy hh:mm"),
Output = Web.Contents(
Did I answer your question? Mark my post as a solution!
Proud to be a Datanaut!
How to integrate M-code into your solution -- Check out more PBI- learning resources here -- Performance Tipps for M-queries