Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Now i am stuck here. Please help me to make this date dynamic. you can download the custom connector .mez file from the above GitHub link so that you can also check all the process using that connector. The process to use this connector is described in the github link given above.
I tried to use Date.From(DateTime.LocalNow()) in place of
#date(2022, 2, 10)), but that was not working throwing error every time because what i believe that we don't know the function definition so we can't say the format and datatype it is using behind the scenes.
That doesn't sound right. Your timestamps need to be in ISO8601 format. Try this
= #table({"Start Date","End Date"},{{DateTime.ToText(DateTime.LocalNow()-#duration(90,0,0,0),"yyyy-MM-ddT00:00:00.000"),DateTime.ToText(DateTime.LocalNow(),"yyyy-MM-ddT23:59:59.999")}})
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 8 | |
| 7 | |
| 6 |