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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
juju63
Regular Visitor

direct query + excel refresh issue

hello all,

 

I built reports that have several datasources coming 

- 1 one comes from a powerbi dataset using POWERQUERY

- others are from EXCEL (from sharepoint, but trying otherwise didn't solved the problem)

 

I first start by downloading the pbi dataset, then I import the excel file and get this message 

juju63_0-1724397531811.png

translation : A DirectQuery connection is required. To make changes to your model (for example, renaming columns and adding data from multiple sources), you must switch to a DirectQuery connection. This requires adding a local template to your file and is a permanent change

 

and when I publish on pbi service 

juju63_1-1724397576074.png

once again translation 😊 : Power BI Publishing This dataset contains calculated tables or columns that reference remote tables, resulting in refresh failures after publication. Do you really want to continue publishing? 

 

and indeed ==> no auto update possible. I can manually refresh and republish pbix in service, but that's not what I call a smart way ...

 

is there a clever (and hopefuly easy) way to troubleshoot this ?

 

1 ACCEPTED SOLUTION
v-xuxinyi-msft
Community Support
Community Support

Hi @juju63 

 

Thanks for the reply from djurecicK2  and SaiTejaTalasila , please allow me to provide another insight:

 

According to your error code “This dataset contains calculated tables or calculated columns that reference remote tables”. This indicates that you have encountered a restriction on the calculated table or calculated column that references a remote table.

 

Did you connect to the dataset in direct query mode in Power BI Desktop and then create the calculated table?

If so, could you please check to see if a calculated table was created in it? Calculation tables are an import mode that can cause refresh failures.

 

Also you can check if you meet another limitation in this:

Solved: Composite Models using Power BI datasets, Calculat... - Microsoft Fabric Community

Use composite models in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-xuxinyi-msft
Community Support
Community Support

Hi @juju63 

 

Thanks for the reply from djurecicK2  and SaiTejaTalasila , please allow me to provide another insight:

 

According to your error code “This dataset contains calculated tables or calculated columns that reference remote tables”. This indicates that you have encountered a restriction on the calculated table or calculated column that references a remote table.

 

Did you connect to the dataset in direct query mode in Power BI Desktop and then create the calculated table?

If so, could you please check to see if a calculated table was created in it? Calculation tables are an import mode that can cause refresh failures.

 

Also you can check if you meet another limitation in this:

Solved: Composite Models using Power BI datasets, Calculat... - Microsoft Fabric Community

Use composite models in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello v-xuxinyi-msft

so according to what I saw in the hyperlink, there's no solution on this topic ...

how letdown it is ...

SaiTejaTalasila
Super User
Super User

Hi @juju63 ,

 

You can create a composite model (mixed) and you can build report on top of it.I hope it will work.

 

Thanks,

Sai Teja 

Hello Sai Teja,

 

I misspelled instead of POWERQUERY, I wanted to say DIRECTQUERY. see the screenshot of my connections

juju63_0-1724672081427.png

I think it's already a composite model ...

djurecicK2
Super User
Super User

Hi @juju63 ,

 This is normal behavior. When you create a report that uses a published Power BI Semantic Model as the data source, the storage mode will be live connection. When you add excel, you can no longer use live connection mode and must use Direct Query.

 

From Power BI Desktop, you can click Make changes to this model in the bottom right

djurecicK2_1-1724433992988.png

 

 

Here is additional information:

https://learn.microsoft.com/en-us/power-bi/connect-data/service-live-connect-dq-datasets

 

 

 

hello djurecicK2,

I can't find any trace of the "Make change to this model"

juju63_3-1724672473453.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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