<?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: Can we split the text column into row? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-we-split-the-text-column-into-row/m-p/3263628#M120750</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="376229" data-lia-user-login="MandyL" class="lia-mention lia-mention-user"&gt;MandyL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;TableB = 
GENERATE ( 
    VALUES ( TableA[ID] ),
    VAR String = CALCULATE ( SELECTEDVALUE ( TableA[Member] ) )
    VAR Items = SUBSTITUTE ( String, ", ", "|" )
    VAR Length = PATHLENGTH ( Items )
    VAR T = GENERATESERIES ( 1, Length, 1 )
    RETURN
        SELECTCOLUMNS ( T, "Member", PATHITEM ( Items, [Value] ) )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 01 Jun 2023 10:00:37 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-06-01T10:00:37Z</dc:date>
    <item>
      <title>Can we split the text column into row?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-we-split-the-text-column-into-row/m-p/3263518#M120742</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Power Query Editor page, it’s easy to use the “Split Column by Delimiter” button to transfer the Table A’s data to Table B. In the dataset view, it is not easy to do as we don’t have edit query permission in the Model view. In the "Report View" page, may I know is there any formula can split the text into row's view? So, in the "Report View" page, I can create a new column (based on the split formula), and display the Table B’s view. Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Are we able to split the text column into row?&lt;/P&gt;&lt;P&gt;Table A&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Member&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID_1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User A, User B&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID_2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User C, User D, User E&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table B&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Member&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID_1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User A&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID_1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User B&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID_2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User C&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID_2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User D&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID_2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User E&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 01 Jun 2023 09:04:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-we-split-the-text-column-into-row/m-p/3263518#M120742</guid>
      <dc:creator>MandyL</dc:creator>
      <dc:date>2023-06-01T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can we split the text column into row?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-we-split-the-text-column-into-row/m-p/3263628#M120750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="376229" data-lia-user-login="MandyL" class="lia-mention lia-mention-user"&gt;MandyL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;TableB = 
GENERATE ( 
    VALUES ( TableA[ID] ),
    VAR String = CALCULATE ( SELECTEDVALUE ( TableA[Member] ) )
    VAR Items = SUBSTITUTE ( String, ", ", "|" )
    VAR Length = PATHLENGTH ( Items )
    VAR T = GENERATESERIES ( 1, Length, 1 )
    RETURN
        SELECTCOLUMNS ( T, "Member", PATHITEM ( Items, [Value] ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 01 Jun 2023 10:00:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-we-split-the-text-column-into-row/m-p/3263628#M120750</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-01T10:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we split the text column into row?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-we-split-the-text-column-into-row/m-p/3265361#M120869</link>
      <description>&lt;P&gt;Thank you so much for your help.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 09:29:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Can-we-split-the-text-column-into-row/m-p/3265361#M120869</guid>
      <dc:creator>MandyL</dc:creator>
      <dc:date>2023-06-02T09:29:49Z</dc:date>
    </item>
  </channel>
</rss>

