This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |