Forum Discussion

s_fs's avatar
s_fs
Frequent Visitor
1 year ago

Error: Query has exceeded available resource

Hi , I have created a matrix visual and I have connected my data using direct query mode and my data has around 5 million records.I have created  around 10 measures which are required for the matrix  values and column is date. when I filter the matrix based on dates it is working only for nearly 10 dates ,means In matrix  i can only  see maxium 10 dates of data, but my requirement is by default I want to show 3 months of data where am facing an issue here. I am getting query has exceeded the available resource error.

 

I have  removed few unnecessary columns ,still the issue is same.please help me to figure out this.

 

4 Replies

  • Deku's avatar
    Deku
    Super User

    The error doesn't mention 1 million row limit, so is related to cost of operations in formula engine, after data cache has been returned from data source. Need to optimize your measures, this might be adjusting your measures so more work is done by your data source, rather than the formula engine. You will have to use DAX studio to look at server timings to find the problematic measures, then look at query plans and play around

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi s_fs 

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi s_fs 
    I wanted to check if you had the opportunity to review the information provided by Deku  . Please feel free to contact us if you have any further questions. If his response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi s_fs 

    I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
    Thank you.