Forum Discussion
Format a field to Title Case when using Direct Query
- 4 years ago
Hi Ry5 ,
No, Direct Query mode does not support this complex query foldring. The only way to solve the problem is from your database side
The power bi get data form SQL Database is using query foldring to change the query to sql statement and send it to SQLDB, then SQLDB return the data to power bi.
Query foldring only support simple transform data like sum(), rename().This is for better performance performance and unnecessary errors. For more details you can refer these links.
Query folding - Power Query | Microsoft Docs
Using DirectQuery in Power BI - Power BI | Microsoft Docs
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you
I did find a conversion process here -
It's an overcomplicated solution but it's there if anyone is unable to set the formatting back in their source data.