Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
Hi,
I have created a table visual with the Month & Year and Headcount and a line graph with the same, I have also adde a Fiscal Year slicer (FY period being Apr - Mar).
When I select FY23 the visulas load fine but when I select FY21 or FY22 the visuals come up with the Couldn't load the data for this visual with the following error message:
The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.. The exception was raised by the IDbCommand interface.
Any help with this is much appreciated.
Solved! Go to Solution.
Hey @GJ217 ,
my assumption is that you are using a measure with your visuals that is responsible for retrieving too much data.
Check if the data can be loaded when you remove measures one by one, to identify the measure(s) that is/are responsible.
Consider to post the measure code when identified. Even better create a pbix that contains sample data, but still reflects your data model (tables, relationships, calculated columns, and measures). Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data instead of the manual input method, share the xlsx as well.
Regards,
Tom
Hi All,
I managed to resolve this by myself in the end. It transpired that the following DAX measures that I used did not include FILTER;
Hadcount2 = CALCULATE(DISTNCTCOUNT(Person[PersonNumber]), Person[HireDate] <=(Dates[Date])
&&(Person[TerminationDate] >= MAX(Dates[Date] || ISBLANK(Person[TerminationDate]))
and I replaced it with the following measure which now loads my visuals;
Headcount1 = CALCULATE(COUNTROWS('Person'),
FILTER(VALUES(Person[HireDate]), Person[HireDate]), Person[HireDate] <=MAX(Dates[Date])),
FILTER(VALUES(Person[TerminationDate]), OR(Person[TerminationDate] >=MAX(Dates[Dates], ISBLANK(pERSON[tERMINATIONdATE]))))
Thank you to those who responded.
Hi All,
I managed to resolve this by myself in the end. It transpired that the following DAX measures that I used did not include FILTER;
Hadcount2 = CALCULATE(DISTNCTCOUNT(Person[PersonNumber]), Person[HireDate] <=(Dates[Date])
&&(Person[TerminationDate] >= MAX(Dates[Date] || ISBLANK(Person[TerminationDate]))
and I replaced it with the following measure which now loads my visuals;
Headcount1 = CALCULATE(COUNTROWS('Person'),
FILTER(VALUES(Person[HireDate]), Person[HireDate]), Person[HireDate] <=MAX(Dates[Date])),
FILTER(VALUES(Person[TerminationDate]), OR(Person[TerminationDate] >=MAX(Dates[Dates], ISBLANK(pERSON[tERMINATIONdATE]))))
Thank you to those who responded.
helloe @GJ217
1) Are you using Direct Query inside your data model?
2) Are you using the 32bit version of Power BI?
3) How many RAM do you have on your computer?
Thanks
Hi @m3tr01d ,
May I know what does it mean of 32 bit version of Power BI?
One more question,
We are also facing the same error with the direct query report, we cannot understand why it's like that does it because of any version issue currently we have the May version and earlier we had the April version in both versions we had the same problem.
one doubt about the OS version currently we have a 2016 Windows server does it because of it?
Hey @GJ217 ,
my assumption is that you are using a measure with your visuals that is responsible for retrieving too much data.
Check if the data can be loaded when you remove measures one by one, to identify the measure(s) that is/are responsible.
Consider to post the measure code when identified. Even better create a pbix that contains sample data, but still reflects your data model (tables, relationships, calculated columns, and measures). Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data instead of the manual input method, share the xlsx as well.
Regards,
Tom
Try there training videos
Thanks for reaching out for help.
I have helped you, now please help me by giving kudos.
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volnteer solver will get the kudos they deserve. Thank you !
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
47 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |