<?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: Splitting a column in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412426#M72425</link>
    <description>&lt;P&gt;Beneath the columns i should see the devices e.g keyboard column beneath it i want to see the keyboards.There is already a column for names&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 13:11:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-23T13:11:15Z</dc:date>
    <item>
      <title>Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2411701#M72393</link>
      <description>&lt;P&gt;I want to split a column into multiple columns e.g i want to create a column for each of keyboard,desktop,Mouse,dongle so that i can view wat each user has to their disposal.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 09:12:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2411701#M72393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-23T09:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2411758#M72396</link>
      <description>&lt;P&gt;Will need to see your data as solution may be as simple as split column to a complex one.&lt;/P&gt;&lt;P&gt;How to Get your Question Answered Quickly -&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_self"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 09:29:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2411758#M72396</guid>
      <dc:creator>Vijay_A_Verma</dc:creator>
      <dc:date>2022-03-23T09:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412169#M72410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select the column you want to split in Power Query.&lt;/P&gt;
&lt;P&gt;Go to Transform tab &amp;gt; Split Column (dropdown) &amp;gt; By Delimiter. As per your example, use comma as the delimiter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 11:39:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412169#M72410</guid>
      <dc:creator>BA_Pete</dc:creator>
      <dc:date>2022-03-23T11:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412260#M72415</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;so i want to create separate columns for keyboard,mouse,large monitor etc.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:15:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412260#M72415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-23T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412262#M72416</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So i want to create separate columns for large monitor,small monitor,keyboard etc.,how do i go about it since they are many different characters in one cell.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:17:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412262#M72416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-23T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412359#M72420</link>
      <description>&lt;P&gt;Beneath those columns what do you want to be populated? For example, under Large monitor what would come? Will user name need to be populated below those columns?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:51:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412359#M72420</guid>
      <dc:creator>Vijay_A_Verma</dc:creator>
      <dc:date>2022-03-23T12:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412385#M72422</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend splitting out your individual devices, but keeping them in one column. This is the most efficient and best-practice format for reporting data.&lt;/P&gt;
&lt;P&gt;Paste this ver the default code in a new blank query in Power Query:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUSooyswrSS3SUUhJLc4uyS9QKEjWUchOrUzKTyxKUYrViVYyAqrKSSxKT1XIzc/LLMkHqs3NLy1OBUsaAyWRdRbnJubkYCiMBQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [user = _t, deviceList = _t]),
    addDeviceCol = Table.AddColumn(Source, "device", each Text.Split([deviceList], ", ")),
    expandDeviceCol = Table.ExpandListColumn(addDeviceCol, "device")
in
    expandDeviceCol&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have the data in this structure, you can use a matrix visual to get the devices into columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:57:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412385#M72422</guid>
      <dc:creator>BA_Pete</dc:creator>
      <dc:date>2022-03-23T12:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412426#M72425</link>
      <description>&lt;P&gt;Beneath the columns i should see the devices e.g keyboard column beneath it i want to see the keyboards.There is already a column for names&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:11:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412426#M72425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-23T13:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412494#M72432</link>
      <description>&lt;P&gt;Need to look at some sample data to work out the steps for you.&amp;nbsp;Please upload the file without confidential/sensitive data to a cloud storage service such as Onedrive/Google Drive/Dropbox/Box (Onedrive preferred) and share the link here.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:44:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2412494#M72432</guid>
      <dc:creator>Vijay_A_Verma</dc:creator>
      <dc:date>2022-03-23T13:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a column</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2420976#M72780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A solution in Power Query would be to:&lt;/P&gt;
&lt;P&gt;add an Index column,&lt;BR /&gt;split the Q column in a new column,&lt;BR /&gt;expand this new column,&lt;BR /&gt;add a new column with prefix "V",&lt;BR /&gt;pivot ,&lt;BR /&gt;remove the Index column&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCijKzCtJLdJRcEktzi7JL1AIcNZR8E6tTMpPLErRUfDNLy1O1VHwSSxKTwVy8jJL8oFqHfMqFfxLMlKLFHQVggtSkzPTKhWSUnPyy5VidaKVUBSDRTDMC85NzMnBpwRNDE19LAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Device List" = _t]),
    Indexed = Table.AddIndexColumn(Source, "Index", 0, 1),
    Splitted = Table.AddColumn(Indexed, "Splitted", each Text.Split([Device List], ", ")),
    Expanded = Table.ExpandListColumn(Splitted, "Splitted"),
    Prefixed = Table.AddColumn(Expanded, "Inserted Prefix", each "V" &amp;amp; [Splitted], type text),
    #"Pivoted Column" = Table.Pivot(Prefixed, List.Distinct(Prefixed[#"Inserted Prefix"]), "Inserted Prefix", "Splitted"),
    #"Removed Columns" = Table.RemoveColumns(#"Pivoted Column",{"Index"})
in
    #"Removed Columns"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/Split-a-cell-values-in-a-column-to-multiple-columns-by-value/m-p/175148" target="_blank"&gt; Solved: Split a cell values in a column to multiple column... - Microsoft Power BI Community &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stephen Tao&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;STRONG&gt;&lt;EM&gt; Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 09:06:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Splitting-a-column/m-p/2420976#M72780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-28T09:06:18Z</dc:date>
    </item>
  </channel>
</rss>

