Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

PowerBI Query error "The query referenced calculated column XXX which does not hold any data because evaluation of one of the rows caused an error."

(0) ShareShare
ReportReport
Posted on by 9

I have a PowerBI "Run a query against a dataset" action with the following query:

 

 

DEFINE
VAR _SecwrFull = SECWR_Full
EVALUATE
_SecwrFull

 

 

My goal is to return the entire table "SECWR_Full"

This action started returning the error:

 

 

{"error":{"code":"DatasetExecuteQueriesError","pbi.error":{"code":"DatasetExecuteQueriesError","parameters":{},"details":[{"code":"DetailsMessage","detail":{"type":1,"value":"The query referenced calculated column 'SECWR_Full'[Product Owner] which does not hold any data because evaluation of one of the rows caused an error."}},{"code":"AnalysisServicesErrorCode","detail":{"type":1,"value":"3241803830"}}]}}}

 

 

 

The "Product Owner" column is indeed calculated by me, but I have a if_blank condition that makes sure there is no empty column.

 

When I try to create a table in PowerBI Desktop with the same query it works just fine:

 

 

Table = 
VAR _SecwrFull = SECWR_Full
RETURN _SecwrFull

 

 

 

I'm really not sure why this one (out of many other) calculated column is having troulbe. Only difference is that this column does a LOOKUPVALUE() across this table and one pulled in from antoher dataset.

 

Any thoughts?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics