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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

The query referenced does not hold any data

Hi Everyone,

 

I need a help,please.

 

I have the following DAX that calculates a calculated table

 

UNION (
SELECTCOLUMNS (
ALLNOBLANKROW ('Rate Code'[RATE_CD]),
"Ranking name", 'Rate Code'[RATE_CD],
"Ranking group", "Top Rate Codes"
),
{ ( "Others", "Others" ) }
)

 

When I run this, it gives an error:

The query referenced calculted table does not hold data because evaluation f one of the rows caused an error.

 

Can someone please help me understand why it is throwing this error?

 

Thank you in advance.

 

Regards,

Mithilesh

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but I think it is working in my pbix file.

Please check the below pictures and the attached pbix file.

Or, please share your sample pbix file's link here, and then I can try to look into it.

 

Jihwan_Kim_0-1712630931336.pngJihwan_Kim_1-1712630973954.png

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Hi @Jihwan_Kim ,

 

Can you please check in case there are blanks in rate_code field?

 

Thanks,

Mithilesh

Anonymous
Not applicable

Thank you, @Jihwan_Kim 

 

On my end, this table is created in tabular editor and is packaged within a model in Azure Analysis Services.

 

Can you please advise if I should do something differently to prevent this error? I sent you a message. Please let me know if it's possible.

 

Thanks,

Mithilesh

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.