Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
The following error is showing when opening the report in PowerBI.com and when I select a slicer it starts loading.
Please let me know if it is a memory or configuration issue, how can we fix it?
Solved! Go to Solution.
Please see the DAX below which is causing issue:
CALCULATE(DISTINCTCOUNT('AR trans measures'[Sales invoice key]),FILTER('AR trans measures','AR trans measures'[Sales invoice key]<>-1 && 'AR trans measures'[Payments] <> 0 && 'AR trans measures'[Open receivables] = 0))
I tried the following
Measure1 = CALCULATE (DISTINCTCOUNT ( ), FILTER1)
Measure2 = CALCULATE (Measure1, FILTER2)
Measure3 = CALCULATE (Measure2, FILTER3)
It worked!!
As the error message says, your visual has attempted to query too much data for us to complete the result with the available resources. This means your data model is too complicated for power bi service server to implement. You may improve the data model and DAX function(e.g.: reduce the table scanning).
For more details about how to improve the data model and DAX formula, you can refer to link below:
https://docs.microsoft.com/en-us/power-bi/power-bi-reports-performance
http://blog.pragmaticworks.com/power-bi-performance-tips-and-techniques
http://radacad.com/optimising-power-bi-data-models
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please see the DAX below which is causing issue:
CALCULATE(DISTINCTCOUNT('AR trans measures'[Sales invoice key]),FILTER('AR trans measures','AR trans measures'[Sales invoice key]<>-1 && 'AR trans measures'[Payments] <> 0 && 'AR trans measures'[Open receivables] = 0))
The measure seems normal, how many rows and columns are there in your report? Please also refer to the limitation in power bi service.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Row count is 10K to 45 K and there are not so many columns used in visual. I could not understand the meaning of 16000 columns.
In this case DISTINCTCOUNT is the culprit.
I tried DistinctCount in Calculate with one condition only and it looks fine but when I use FILTER () inside that, it again starts delaying.
I tried the following
Measure1 = CALCULATE (DISTINCTCOUNT ( ), FILTER1)
Measure2 = CALCULATE (Measure1, FILTER2)
Measure3 = CALCULATE (Measure2, FILTER3)
It worked!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.