Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Dear all,
My data source is SQL, and I have a column that contains only numbers (no empty data nor letter, etc). The format is not automatically recognized as numbers. I would like to transform the column as number, but I have the message (sorry it's a translation of the original message, I might not be the right one) :
"this step generates a query that is not supported in directquery mode "
Can somebody help me to transform the data, please ?
Thanks a lot.
Regards
Solved! Go to Solution.
Hi @Lili123 ,
2. Or switch the mode to Import mode instead.
For more information, please kindly refer to:
Using DirectQuery in Power BI - Power BI | Microsoft Docs
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Lili123 ,
2. Or switch the mode to Import mode instead.
For more information, please kindly refer to:
Using DirectQuery in Power BI - Power BI | Microsoft Docs
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your very well documented answer. It works properly!
Assuming you are using Table.TransformColumnTypes, try:
Table.TransformColumns(PriorStepOrTableName, {{"NumberColumnName", Number.From, type number}})
You might have to use each Number.From
--Nate
Hi Watkinnc,
I put this in the querry, sorry, but I still have the same error message. Thank you anyway.
Do you have another idea ?