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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
DAX does not seem to have a date.format. You can use the Interface but that is AFTER the data is loaded.
I need to send a dynamic date to my json data source string to load data based on today's date.
{date.format("yyyy-MM-dd")}
GetTodaysDate = Text.From(Date.LocalNow()),
"05/20/2020"
I need it to be:
"2020-05-20"
Does DAX have a Date Format Function?
How do I convert the date using Text Replace or some other method?
Solved! Go to Solution.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |