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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
aminakov
Frequent Visitor

calls to #sections and #shared doesn't work for model upload

While perfectly working for PQ itself, I cannot use them if any results go to Model. Why is that? It seems rediculous...

4 REPLIES 4
v-yuta-msft
Community Support
Community Support

@aminakov ,

 

Could you please share spme sample data and the M code?

 

Regards,

Jimmy Tao

Pls create 2 queries, first one:

= #sections[Section1][ttt]

Second query name ttt and the body of query is any value, e.g. 1.

Ensure that all is ok while you in PQ UI.

Make the first query uploadable to model.

While refreshing the model, you'll get Ole error.

Just checked - in Excel all works fine, regardless of target - model or / and table. You defenitely have a bug in the current release of PBID, guys :-). In some cases PBID rases an OLe error, and in some cases just crashes silently.

Is it possible to have any sort of reaction on this post? Thank you very much in advance.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.