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
Anonymous
Not applicable

PowerBI DAX Optimization with PowerQuery

Hi

 

I was reading the Book "The Definitive Guide to DAX: Business intelligence with Microsoft Power BI..." of Marco Russo and Alberto Ferrari, and in the optimization section, I've got something that it's not clear to me.

According to what I understand, the compression of columns in DAX is performed first with data source columns and after multiple steps, with calculated columns, making that calculations columns are not compressed in the best way. Because of this, they recommend to create, if possible, this calculated columns in data source.

But I've as PowerBI has PowerQuery as ETL, I wonder if I create the calculated columns in PowerQuery are they going to be compressed so good as if they were created in the datasource, or not?

 

Hope you understand my question.. Thanks!

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User


@Anonymous wrote:

 

But I've as PowerBI has PowerQuery as ETL, I wonder if I create the calculated columns in PowerQuery are they going to be compressed so good as if they were created in the datasource, or not?

 


Yes columns calculated in Power Query will be treated the same as ones created in the original data source. As far as the tabular engine is concerned it only sees the output from Power Query it can't tell the difference between a column from the original source or one derived within the query. 

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User


@Anonymous wrote:

 

But I've as PowerBI has PowerQuery as ETL, I wonder if I create the calculated columns in PowerQuery are they going to be compressed so good as if they were created in the datasource, or not?

 


Yes columns calculated in Power Query will be treated the same as ones created in the original data source. As far as the tabular engine is concerned it only sees the output from Power Query it can't tell the difference between a column from the original source or one derived within the query. 

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.