Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |