Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 months ago
Solved

Drill Through with comma separated values

Team,

I’m trying to understand whether the following drillthrough behavior is achievable in Power BI.

Scenario:

  • I have a bar chart with 4 categories:

    • A, B, C, D

  • Drillthrough is enabled on this bar chart using the category field.

Data structure (backend):

The underlying column that drives the drillthrough contains comma-separated values, for example:

  1. A

  2. A, B

  3. B, C

Expected behavior:

  • When I drill through on bar A, I want the drillthrough page to show:

    • Rows where the value is A

    • AND rows where the value is A, B

In other words, the drillthrough should behave like a “contains” match rather than an exact equality match.

Current behavior:

  • Power BI drillthrough only shows rows where the value is exactly A

  • Rows like A, B are excluded

Question:

Is there any supported way in Power BI to:

  • Expand drillthrough results to include rows where the drilled value is part of a comma-separated list

  • Or override the default equality-based drillthrough behavior?

Any guidance, limitations, or recommended modeling approaches would be appreciated.

  • 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.

15 Replies