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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
antonioaceituno
Frequent Visitor

Can not transform variables in Direct Query (PowerBI Desktop)

Hello everyone,

 

I am using Direct Query in Power Bi Desktop, due to the high volume of data I need to process.

I am able to create new columns by dividing for example by 1000 to change the field units, however, the the variable created by doing this, is stored in "General" format, instead of "Decimal".

Due to this, I can not display this variable in a chart, as is not in a proper format.

So I thought I could go to Edit Queries again, and change its format, but when I do this, and try to close and apply the changes after that, a message pops up saying that theses changes can not be applied if I am using Direct Query. It also suggest me in that moment to change the way of getting data to Import tables, but it does not work when I press on that button, I also get an error.

 

Can someone give me a hand on this matter please?

 

Thank you sou much in advance!
Antonio

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@antonioaceituno ,

 

In the model pane, change the storage mode from direct query to import like below:

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I can not use that option, as the data to import would be extremely high. I already tried it.

 

Thanks!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.