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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
HR_BI
Frequent Visitor

Calculated Column throws error when Schedule refresh is set up on Power Bi Service

Hello Everyone,

 

I have problem related to Power BI Service. I have created a dataset(combination of direct query and import model) and the dataset has calculated columns. This dataset works completely fine is Power BI desktop as well as when published in Power BI service(no schedule refresh set up). However, once the schedule refresh is set up, the calculated columns starts to throw this error "The query referenced calculated column .....ABC column....which does not hold any data because evaluation of one of the rows caused an error "

Please find more detailed description of my dataset below:

 

The calculated column Test 3 works fine which has coulmn coming from import table however the Test 1 throws error(The query referenced calculated column Test 1 which does not hold any data because evaluation of one of the rows caused an error) which has column coming from shared dataset.

 

CAPTURE 7_20_2022, 3_11_39 PM (1).png

 

Any help is greatly appreciated!

5 REPLIES 5
HR_BI
Frequent Visitor

DAX calculated columns.

otravers
Community Champion
Community Champion

Could you create the same column in PQ instead? It would give you an easy way to identify the offending row.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

In my scenario I can't use PQ. The use case I have can only be solved using calculated columns. And the no rows have any error. It works completely fine in Power BI Desktop.

otravers
Community Champion
Community Champion

Can you try using an IFERROR condition in the DAX statement defining your calculated column? Have it spit out a ludicrous value that you can easily seek in the service so find the rows that lead to the error.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals
otravers
Community Champion
Community Champion

Just to be clear, are these Power Query or DAX calculated columns?

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.