Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Getting a persistent cache/query folding error when refreshing Oracle queries in Power BI Desktop. The exact error is:
Non-null assertion failure: resource should be available for query "QueryName" to store FoldedArtifacts in cache
Any ideas?
Solved! Go to Solution.
The error is fixed. The powerbi parameter is a number. When you add this to the query string, you have be sure to remove the comma's and points. My solution is to use "F0" in number.to_Text(Parameter,"F0"). The parameter is an integer, so I don't need decimal signs.
No error anymore but it still didn't work like expected. It kept using the default value of the parameter. I tried to link the parmaeter with a column from an other table. But that didn't do anything.
I was able to make the performance better in the underling oracle database. So not urgent anymore...
Hi @pieter_nuyens ,
Thank You for the update. Glad you were able to resolve the issue.If you have any question, feel free to reach out to us.
Regards,
Shruti
Hi @pieter_nuyens ,
If you are getting this error after incremental refresh, can you please try to disable once and check if you are still getting this error?
Thank you
The error is fixed. The powerbi parameter is a number. When you add this to the query string, you have be sure to remove the comma's and points. My solution is to use "F0" in number.to_Text(Parameter,"F0"). The parameter is an integer, so I don't need decimal signs.
No error anymore but it still didn't work like expected. It kept using the default value of the parameter. I tried to link the parmaeter with a column from an other table. But that didn't do anything.
I was able to make the performance better in the underling oracle database. So not urgent anymore...
Hello Is this bug already fixed ? I'm havingthe same erros with direct queries to Oracle with dynamic parameters.
Hi @RomanTesolkin ,
I hope you were able to create a support ticket successfully.
If you need any assistance, let us know.
Thank you
Hi @RomanTesolkin ,
Thank you for the update.
The idea was to help you riase the issue in the issues forum. If it would get enough votes, it will be resolved.
If you still need any assistance, please consider raising a support ticket here-
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Microsoft Fabric service status
Hope this helps!
Hi @RomanTesolkin ,
Seems like the dataset is too large or the query is complex such that the memory consumed by the query exceeds the configured limit.
You can try these steps-
1.Remove or isolate complex steps (e.g., custom columns, joins across sources).
2.Use View Native Query to confirm folding is active.
3.Disable incremental refresh temporarily to see if the error persists.
4.Switch to DirectQuery Mode:
5.Ensure lists used in filters are properly typed and constructed.
6.Set both sources to “Organizational” if safe, to avoid blocking folding.
If the error still persists, try raising the issue here
Issues - Microsoft Fabric Community
Hope this helps!
Thank you for your response @v-sdhruv .
My report is configured in DirectQuery mode, using dynamic parameters with a native Oracle query. The issue occurs when I filter with string types parameters. If i use hard coded values - all good.
After further investigation, I have concluded that the problem is not with the dataset or the query itself. The same .pbip file refreshes without error for my colleagues and also refreshes successfully when published to the Power BI Service.
This strongly suggests that the issue is a bug or a persistent cache problem specific to my local Power BI Desktop installation. Despite having already performed extensive troubleshooting—including clearing all cache folders, reinstalling Power BI, and using different query methods—the error persists.
The link you provided unfortunately leads to a general suggestions page rather than a place to report this specific issue. Wanted to submit the issue there yesterday..
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.