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.
Hi everyone,
I’ve created a matrix visual in Power BI that contains many columns.
There’s also a filter (created using a field parameter) that includes all the columns present in the matrix.
When I use this report in the Power BI Service and expand all columns in the matrix, I encounter the following error:
> Underlying Error: rsQueryMemoryLimitExceeded
At that point, the table becomes invisible.
However, when I apply any filter (which reduces the data size), the matrix becomes visible again.
How can I resolve or optimize this issue so that the matrix can be fully expanded in the Power BI Service without hitting the rsQueryMemoryLimitExceeded error?
Any guidance or optimization techniques (for model design, DAX, or visuals) would be greatly appreciated.
Thanks in advance!
Solved! Go to Solution.
Hi @Mahendra_k ,
Thanks for reaching out to the Microsoft fabric community forum.
Please go to capacity settings in Admin portal and check the query memory limit, change if there is any value present to zero and rechec the matrix visual to see if you are facing the same error.
The default value of this property is 0, which means the maximum value for the capacity SKU you’re using will be applied; any other value will be interpreted as a percentage of that maximum value.
Additionally, these are the query memory limits applied to various Fabric SKU’s,
you can even upgrade your SKU to get higher query memory limit.
How to configure workloads in Power BI Premium - Microsoft Fabric | Microsoft Learn
I hope this information helps. Please do let us know if you have any further queries.
Thank you
Hi @Mahendra_k ,
Thanks for reaching out to the Microsoft fabric community forum.
Please go to capacity settings in Admin portal and check the query memory limit, change if there is any value present to zero and rechec the matrix visual to see if you are facing the same error.
The default value of this property is 0, which means the maximum value for the capacity SKU you’re using will be applied; any other value will be interpreted as a percentage of that maximum value.
Additionally, these are the query memory limits applied to various Fabric SKU’s,
you can even upgrade your SKU to get higher query memory limit.
How to configure workloads in Power BI Premium - Microsoft Fabric | Microsoft Learn
I hope this information helps. Please do let us know if you have any further queries.
Thank you
Hi @Mahendra_k Chris Webb has an interesting blog post on exactly this issue. It might not solve your issue, but it does provide an explanation of the DAX queries that the visual creates.
https://blog.crossjoin.co.uk/2025/05/18/performance-implications-of-different-ways-of-fully-expandin...
Hi @Mahendra_k ,
Depending on you license the limits for memory are different and impact the result.
You refer that you have all the columns present in a field parameter, you don't specify how many you have and also depending on the number of rows you have this will rapidly increase the memory usage.
Some of the best practices I use when building this type of visualizations are:
This are just some toughts that occurr to me. If you need any further assistance let me know.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI’m currently using a Power BI Pro license.
The matrix has around 10–12 columns, and I’m using a simple SUM DAX for aggregation — nothing complex.
The issue occurs only when I expand all columns in the matrix; if I apply any filter, the table becomes visible again.
Do you think this could still be a memory issue, even with only 10–12 columns? Or is there any way to optimize the field parameter setup to avoid this error?
Thanks again for your help!
This depends on the data and the relationships you have in your model, the columns may be "small" but the combination of all of them in a single visual may create a huge table in the background.
Has I said I usually try out with different setups of the table specially if I have a lot of very detailed fields.
In terms of the parameters I belive that the pratice of aggregating them in several "categories" so that the user does not get all the data from the model in a single table is a good option.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsJoin the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.