Forum Discussion
Drill Through with comma separated values
- 9 months ago
Hi Anonymous,
The “Query has exceeded the available resources” error in Power BI occurs when the engine is unable to process a query due to limitations in memory, CPU, or execution capacity. This issue is related to the system's capacity or the complexity of the query, rather than a DAX syntax error.
To resolve this issue:
- Avoid using a measure as a visual-level filter on a detailed table.
- Incorporate the logic into the data model by creating a calculated column, such as
Has Affiliation Change = IF ( CONTAINSSTRING ( 'AFFILIATION CHANGE FLAG'[affiliation_change_category], RELATED ( 'Dim Affiliation Category Bridge'[affiliation_change_category] ) ), 1, 0 )Use slicers or dimension tables to apply filters, rather than using measures.
Thank you.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Hi lbendlin
Data is pretty simple. I have a category column which contains fruit names.
Some values are individual and some are comma separated.
| Category |
| Apple |
| Banana |
| Guava |
| Pineapple |
| Apple, Orange |
| Banana, Guava |
If I drill through on Apple, I should see values for Apple + Apple, Orange.
Similary, if I drill through on Banana, I should see values for Banana + Banana, Guava
- lbendlin9 months ago
Super User
- Anonymous9 months agoNot applicable
hi lbendlin
Will this solution be recommended if I have a large table with number of rows close to 2 Billion?
Duplicating the entire table will consume double memory and degrade the performance.- lbendlin9 months ago
Super User
This data is immutable so you can also consider precomputing it once, either in Power Query or further upstream.