Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi All,
We are connecting to JIRA data, which is working fine with the following code:
What I would like to reach is to have a dynamic date range, and have the data from the first day of the current year untill the current data.
I have tried to put after the "from" and after the "to" the following:
content=
"{
""from"": "&Date.ToText(Date.From( Date.StartOfYear(DateTime.Date(DateTime.FixedLocalNow()) )),"yyyy-MM-ddT00:00:00Z" )&",
""to"":"&Date.ToText(Date.From( Date.EndOfMonth(DateTime.Date(DateTime.LocalNow()) )),"yyyy-MM-ddT00:00:00Z")&"
}",
But unfortunately it did not work, and I am not too good at M code.
Can you please advise what should I do?
Thanks in advance!
Dear @amitchandak ,
Thank you very much for the articles, I read them but honestly I do not understand still how I could implement in my exact example the dynamic date solution:(
Thank you again