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
ctowery
Helper I
Helper I

The expression references column which does not hold any data - Power BI Direct Query Error

When adding a specific calculated column to a table visual in Power BI I receive the following error when I refresh the data.bi error.png

 

The visual is fine upon initially dragging the calculated column over. Once I refresh the data I get the error. I'm using Direct Query with an Azure SQL Server.

2 REPLIES 2
Anonymous
Not applicable

Can you not add the calculated column as a part of the SQL Query? 

 

Ideally, you are not allowed to have calculated column in a direct query model.

Anonymous
Not applicable

Hi @ctowery ,

If you can please share some sample data for the test, it is hard to troubleshoot from your snapshot.

How to Get Your Question Answered Quickly  
Regards,

Xiaoxin Sheng

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.