<?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 Re: Display multiple values in same column/row in matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3476923#M132829</link>
    <description>&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AuPvDfSGZPBCgYJ46h6NIa8_Fev3Ww?e=ierHC6" target="_blank"&gt;Dwarf.pbix&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Oct 2023 16:51:11 GMT</pubDate>
    <dc:creator>RedDwarf_803</dc:creator>
    <dc:date>2023-10-14T16:51:11Z</dc:date>
    <item>
      <title>Display multiple values in same column/row in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3476694#M132814</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I want do display all events in categories&amp;nbsp;(Cat) in a timeline matrix.&lt;BR /&gt;I have 7 Cat (A - G) and Cat A can have multiple events&amp;nbsp;during one day.&lt;BR /&gt;&lt;BR /&gt;The model is based on one fact table (FTT) and a timetable (TT). Fact table pic A&lt;BR /&gt;The timetable times is in 20 minutes intervals and is&amp;nbsp;related to start time in FTT table. Pic B&lt;BR /&gt;&lt;BR /&gt;Unfortunately I'm only able to display first event on each Cat in the timeline matrix. Pic C&lt;BR /&gt;Green frame illustrate&amp;nbsp;first event for Cat A&lt;BR /&gt;Green frame in table to the right illustrate the start time and the end time&lt;BR /&gt;Red frame illustrate&amp;nbsp;missing event for Cat A.&lt;BR /&gt;Red frame in table to the right illustrate the start time and the end time.&lt;BR /&gt;Start time 07:40 to End time 09:40 is missing in the matrix.&lt;BR /&gt;&lt;BR /&gt;So the problem is my DAX only showing first event and I want to display all events.&lt;BR /&gt;My DAX measure&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;Test time = &lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Var sD =&amp;nbsp;CALCULATE(MIN(FTT[Start time]),REMOVEFILTERS(TT)&amp;nbsp;)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Var eD = CALCULATE(Min(FTT[End time]),REMOVEFILTERS(TT)&amp;nbsp;)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Var xx= min(TT[Time])&amp;gt;=sd &amp;nbsp;&amp;amp;&amp;amp; MIN(TT[Time]) &amp;lt;= eD&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Var yy=SWITCH(TRUE(),xx,1,0)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Return&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;yy&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Is there a way to fix this problem?&lt;BR /&gt;Or is there another visual i BI that solves the problem (only free visuals)?&lt;BR /&gt;&lt;BR /&gt;Pic A&lt;BR /&gt;Dummy data&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Pic B&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Pic C&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 09:54:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3476694#M132814</guid>
      <dc:creator>RedDwarf_803</dc:creator>
      <dc:date>2023-10-14T09:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Display multiple values in same column/row in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3476885#M132826</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="631086" data-lia-user-login="RedDwarf_803" class="lia-mention lia-mention-user"&gt;RedDwarf_803&lt;/a&gt;, thanks for the screenshot and descriptions. Could you provide&amp;nbsp;the example .pbix file (&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;here's how&lt;/A&gt;)? Happy to help.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 15:49:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3476885#M132826</guid>
      <dc:creator>giammariam</dc:creator>
      <dc:date>2023-10-14T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display multiple values in same column/row in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3476923#M132829</link>
      <description>&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AuPvDfSGZPBCgYJ46h6NIa8_Fev3Ww?e=ierHC6" target="_blank"&gt;Dwarf.pbix&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 16:51:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3476923#M132829</guid>
      <dc:creator>RedDwarf_803</dc:creator>
      <dc:date>2023-10-14T16:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display multiple values in same column/row in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3477007#M132835</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="631086" data-lia-user-login="RedDwarf_803" class="lia-mention lia-mention-user"&gt;RedDwarf_803&lt;/a&gt;,&amp;nbsp;Thanks for the .pbix file. Give this a shot and let me know if it's what you're after.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Test time 2 = 
VAR time =
    SELECTEDVALUE ( TT[Time] )
VAR startTime =
    CALCULATE (
        MIN ( FTT[Start time] ),
        REMOVEFILTERS ( TT ),
        FTT[End time] &amp;gt;= time
    )
VAR endTime =
    CALCULATE (
        MAX ( FTT[End time] ),
        REMOVEFILTERS ( TT ),
        FTT[Start time] &amp;lt;= time
    )
RETURN
    IF ( time &amp;gt;= startTime &amp;amp;&amp;amp; time &amp;lt;= endTime, 1, 0 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is enough to get you going please consider liking this reply and choosing it as the solution. Otherwise, I'm happy to help further.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 19:58:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3477007#M132835</guid>
      <dc:creator>giammariam</dc:creator>
      <dc:date>2023-10-14T19:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Display multiple values in same column/row in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3477225#M132855</link>
      <description>&lt;P class="lia-align-left"&gt;Thanks &lt;STRONG&gt;Madison&lt;/STRONG&gt;. Your DAX works fine&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 09:35:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-multiple-values-in-same-column-row-in-matrix/m-p/3477225#M132855</guid>
      <dc:creator>RedDwarf_803</dc:creator>
      <dc:date>2023-10-15T09:35:19Z</dc:date>
    </item>
  </channel>
</rss>

