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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
bidev
Frequent Visitor

Query too large to be displayed

I have a query that has a long list of item #'s used in the "where" clause in selecting records of MS SQL database.  Because it is a dynamic calling to the database, I am prompted by Native the Database Query approval window, which I normally would click "Run" to start the execution.    But this time, there was a message, "Query too large to be displayed", and I couldn't run.

 

Is there a way to skip the prompt?  Or any other ways to work around.  Thank you if you can help.

1 ACCEPTED SOLUTION
ImkeF
Community Champion
Community Champion

You can adjust the query-option so that the approval will not be required. But warning: This is a global setting, so it will applied to other queries as well:

 

PBI_Options_TurnOffQueryApproval.png

 

Alternatively you could try to shorten your query, accept the approval and then put back your original query. But this might then not work for other users.

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

2 REPLIES 2
ImkeF
Community Champion
Community Champion

You can adjust the query-option so that the approval will not be required. But warning: This is a global setting, so it will applied to other queries as well:

 

PBI_Options_TurnOffQueryApproval.png

 

Alternatively you could try to shorten your query, accept the approval and then put back your original query. But this might then not work for other users.

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

bidev
Frequent Visitor

Hello Imke,

 

Thank you very much for your help and after unselected that option, I could run without any problem!  Thanks again.

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.