<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Display cumulative rows in a table when clicking on a cumulative chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-cumulative-rows-in-a-table-when-clicking-on-a-cumulative/m-p/4844847#M184918</link>
    <description>&lt;P class=""&gt;Hello,&lt;/P&gt;&lt;P class=""&gt;I need help creating an interaction between a chart and a table in Power BI.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a stacked bar chart displaying &lt;STRONG&gt;monthly cumulative&lt;/STRONG&gt; IDTs (for example: January = 2 IDTs, February = 5 cumulative IDTs since January, March = 8 cumulative IDTs since January, etc.)&lt;/LI&gt;&lt;LI&gt;Below it, I have a table listing IDT details with their information (Interface Reference, Phase, Owner Entity, etc.)&lt;/LI&gt;&lt;LI&gt;Both visuals are linked through a calendar date table &lt;STRONG&gt;DIM_Date&lt;/STRONG&gt;&amp;nbsp;which is connected to my fact table &amp;nbsp;via the &lt;STRONG&gt;date&amp;nbsp;&lt;/STRONG&gt;field&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Current issue:&lt;/STRONG&gt; When I click on &lt;STRONG&gt;September&lt;/STRONG&gt; in the chart, the table only displays IDTs from September (default Power BI behavior).&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Desired result:&lt;/STRONG&gt; I would like the table to display &lt;STRONG&gt;all IDTs from January to September&lt;/STRONG&gt; (cumulative) when I click on September, and similarly for all other months.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;What I've tried:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Modifying interactions between visuals (but it doesn't change the behavior)&lt;/LI&gt;&lt;LI&gt;Creating filter measures, but I get context errors&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; How can I make the table display cumulative rows up to the selected month in the chart?&lt;/P&gt;&lt;P class=""&gt;Thanks in advance for your help!&lt;/P&gt;</description>
    <pubDate>Tue, 07 Oct 2025 19:23:42 GMT</pubDate>
    <dc:creator>PopoLolo</dc:creator>
    <dc:date>2025-10-07T19:23:42Z</dc:date>
    <item>
      <title>Display cumulative rows in a table when clicking on a cumulative chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-cumulative-rows-in-a-table-when-clicking-on-a-cumulative/m-p/4844847#M184918</link>
      <description>&lt;P class=""&gt;Hello,&lt;/P&gt;&lt;P class=""&gt;I need help creating an interaction between a chart and a table in Power BI.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a stacked bar chart displaying &lt;STRONG&gt;monthly cumulative&lt;/STRONG&gt; IDTs (for example: January = 2 IDTs, February = 5 cumulative IDTs since January, March = 8 cumulative IDTs since January, etc.)&lt;/LI&gt;&lt;LI&gt;Below it, I have a table listing IDT details with their information (Interface Reference, Phase, Owner Entity, etc.)&lt;/LI&gt;&lt;LI&gt;Both visuals are linked through a calendar date table &lt;STRONG&gt;DIM_Date&lt;/STRONG&gt;&amp;nbsp;which is connected to my fact table &amp;nbsp;via the &lt;STRONG&gt;date&amp;nbsp;&lt;/STRONG&gt;field&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Current issue:&lt;/STRONG&gt; When I click on &lt;STRONG&gt;September&lt;/STRONG&gt; in the chart, the table only displays IDTs from September (default Power BI behavior).&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Desired result:&lt;/STRONG&gt; I would like the table to display &lt;STRONG&gt;all IDTs from January to September&lt;/STRONG&gt; (cumulative) when I click on September, and similarly for all other months.&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;What I've tried:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Modifying interactions between visuals (but it doesn't change the behavior)&lt;/LI&gt;&lt;LI&gt;Creating filter measures, but I get context errors&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; How can I make the table display cumulative rows up to the selected month in the chart?&lt;/P&gt;&lt;P class=""&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 19:23:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-cumulative-rows-in-a-table-when-clicking-on-a-cumulative/m-p/4844847#M184918</guid>
      <dc:creator>PopoLolo</dc:creator>
      <dc:date>2025-10-07T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display cumulative rows in a table when clicking on a cumulative chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-cumulative-rows-in-a-table-when-clicking-on-a-cumulative/m-p/4845026#M184921</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1368573" data-lia-user-login="PopoLolo" class="lia-mention lia-mention-user"&gt;PopoLolo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You’re running into the default cross-highlight behavior: when you click September, the chart filters the model to only September, so the table can’t “see” January-August anymore. To get cumulative rows, you need to (1) stop the chart from filtering the table and (2) read the selected month from a disconnected date axis, then (3) apply your own “≤ selected month” logic to the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is untested, but is how I would approach this. If you share a sample file with data I can make modifications to it for you to achieve the desired result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Create a disconnected date axis&lt;/STRONG&gt; (no relationships):&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;DateAxis =
ADDCOLUMNS (
    CALENDAR ( DATE(2025,1,1), DATE(2025,12,31) ),
    "YearMonth", FORMAT ( [Date], "YYYY-MM" )
)&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Use that DateAxis on your stacked bar chart axis&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Turn off the chart &amp;gt; table interaction&lt;/STRONG&gt; (Format pane &amp;gt; Edit interactions &amp;gt; set the table to “None”).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Add a measure the table can use to include rows up to the selected month&lt;/STRONG&gt;:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;Selected Max Date =
VAR selMax =
    MAX ( DateAxis[Date] )   -- comes from the disconnected axis
RETURN
IF ( ISBLANK ( selMax ), BLANK (), selMax )&lt;/PRE&gt;&lt;PRE&gt;Show Up To Selection? =
VAR sel = [Selected Max Date]
VAR rowDate = SELECTEDVALUE ( DIM_Date[Date] )
RETURN
IF (
    ISBLANK ( sel )
        || ( NOT ISBLANK ( rowDate ) &amp;amp;&amp;amp; rowDate &amp;lt;= sel &amp;amp;&amp;amp; YEAR ( rowDate ) = YEAR ( sel ) ),
    1, 0
)&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Put Show Up To Selection? in the table’s Visual-level filters = 1&lt;/STRONG&gt;.&lt;BR /&gt;Now when you click &lt;STRONG&gt;September&lt;/STRONG&gt; in the chart, the table ignores the chart’s filter but still &lt;EM&gt;reads&lt;/EM&gt; the selection and shows January–September rows.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 03:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-cumulative-rows-in-a-table-when-clicking-on-a-cumulative/m-p/4845026#M184921</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-10-08T03:18:59Z</dc:date>
    </item>
  </channel>
</rss>

