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
Hello,
I have fetched ata from data source as text. In the power Query I want to conver it into a date
in the first row actual date 2024-10-01 and in the second row 2024-09-01
I tried to use date.Fromtext function but it is giving an error
Help is really appreaiate. @amitchandak @Greg_Deckler @Ashish_Mathur
Thank you so much in advance.
Hi,
I just changed the data type and it worked fine. See the images below
Hi @Anonymous
You could use ,
CONVERT Dax Function.
it will crack your queries
Thanks,
Thennarasu
The Date.FromText function expects the text date to be in a specific format.
To convert the text date in the format "2024-10-01" into a date in Power Query, you can try the following steps:
If you still encounter issues with the conversion, please provide me with more details about the error message that you are receiving, and the steps that you have followed so far.
Thank you so much for you reply @MAwwad
I could follow till step no. 4
It would be really nice if you can explain the step 5 with more details.
I am attaching current screen shot of the power query page
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 135 | |
| 102 | |
| 67 | |
| 65 | |
| 56 |