Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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")}})
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 8 | |
| 7 | |
| 7 |