Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Syndicate_Admin
Administrator
Administrator

Problems in transforming data from a column

Hello

In my dataset uploaded to BigQuery and connected to power BI using Direct Query I have been trying to modify a column called "Vertical" that has values ENERGY and ENERGY, among others. I have replaced all the values in which ENERGY appears with ENERGY with the following formula:

= Table.ReplaceValue(#"Renamed Columns2","ENERGY","ENERGY",Replacer.ReplaceText,{"Vertical"})

When I close and apply the change, the following error appears in the graphs:

"OLE DB or ODBC error: [Expression.Error] Could not bend the expression to the data source. Try it with a simpler expression."

I wanted to know if you can think of any way to fix it.

Greetings

1 ACCEPTED SOLUTION

Thanks a lot. I've made those changes to the query I call from power BI and it seems to work.

Greetings

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Syndicate_Admin , Seem like you are trying that is direct query. Complex calculations are not supported in Direct Query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks a lot. I've made those changes to the query I call from power BI and it seems to work.

Greetings

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors