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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Super User
Super User

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
Super User
Super User

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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