<?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 Column values in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4902722#M1451663</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378060" data-lia-user-login="dommyw277" class="lia-mention lia-mention-user"&gt;dommyw277&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="208" data-end="268"&gt;Thanks for clarifying that the source file is a CSV.&lt;/P&gt;
&lt;P data-start="270" data-end="321"&gt;The error you’re seeing is expected with this line:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Source = Csv.Document(){[Name="Data"]}[Content],&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;Unlike Excel, a CSV file doesn’t contain named tables (such as &lt;/SPAN&gt;&lt;CODE data-start="445" data-end="451"&gt;Data&lt;/CODE&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-start="382" data-end="569"&gt;Csv.Document must be provided with the file contents, so referencing a table name will result in the error.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;0 arguments were passed to a function which expects between 1 and 5&lt;/LI-CODE&gt;
&lt;P data-start="644" data-end="873"&gt;To resolve this, please use the Source step that Power Query automatically generates when you import the CSV file, and then apply the remaining transformation steps (Add Column, Fill Down, Filter, etc.) on top of that source.&lt;/P&gt;
&lt;P data-start="875" data-end="1003"&gt;Also, please double check the exact column name (for example, Remarks vs Coloum1) and ensure headers are promoted correctly.&lt;/P&gt;
&lt;P data-start="875" data-end="1003"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1005" data-end="1086"&gt;Once the source step is corrected, the rest of the logic should work as expected.&lt;/P&gt;
&lt;P data-start="1005" data-end="1086"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1005" data-end="1086"&gt;Hope this helps..&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2025 05:15:52 GMT</pubDate>
    <dc:creator>V-yubandi-msft</dc:creator>
    <dc:date>2025-12-16T05:15:52Z</dc:date>
    <item>
      <title>Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894423#M1449806</link>
      <description>&lt;P&gt;Hi, how would i split a column like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Category1&lt;/P&gt;&lt;P&gt;SR-01&lt;/P&gt;&lt;P&gt;SR-02&lt;/P&gt;&lt;P&gt;SR-03&lt;/P&gt;&lt;P&gt;Category 2&lt;/P&gt;&lt;P&gt;SR-05&lt;/P&gt;&lt;P&gt;INC-01&lt;/P&gt;&lt;P&gt;INC-02&lt;/P&gt;&lt;P&gt;Category 3&lt;/P&gt;&lt;P&gt;INC-03&lt;/P&gt;&lt;P&gt;SR-06&lt;/P&gt;&lt;P&gt;etc etc&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 15:45:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894423#M1449806</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-05T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894431#M1449807</link>
      <description>&lt;P&gt;Can you explain what outcome you want to get?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 15:47:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894431#M1449807</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-12-05T15:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894442#M1449811</link>
      <description>&lt;P&gt;thank you. I want to put all the categories in one column and the SR plus INC in another column&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 15:53:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894442#M1449811</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-05T15:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894444#M1449812</link>
      <description>&lt;P class=""&gt;In Power Query Editor, add an Index column, then use a custom function to split grouped values into separate Category/Item rows.​&lt;/P&gt;&lt;H2&gt;Solution Steps&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Add Index&lt;/STRONG&gt;: Select column &amp;gt; Add Column &amp;gt; Index Column (from 0).​&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Custom Column&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with M formula:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if Text.StartsWith([Column], "Category") then { [Column], null } else { Text.BeforeDelimiter(Text.From([Column]), "Category" &amp;amp; Number.From(Text.PositionOf(Text.From([Column]), "Category")), [Column] } &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Expand List&lt;/STRONG&gt;: Expand the new list column to rows (Attribute=Category, Value=Item).​​&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;Advanced M Code (Advanced Editor)&lt;/H2&gt;&lt;P class=""&gt;Replace your query step with:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;let Source = ..., #"Added Index" = Table.AddIndexColumn(Source, "Index",0,1), #"Split Rows" = Table.ExpandListColumn( Table.AddColumn(#"Added Index", "Split", each List.Generate( () =&amp;gt; [i=0, cat=Text.Select([Column], each Text.Contains("Category"))], each [i] &amp;lt; List.Count(Text.Split([Column],"#(lf)")), each [i=[i]+1] ) ), "Split" ) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;Filter nulls, remove Index.​&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 15:53:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894444#M1449812</guid>
      <dc:creator>Shubham_rai955</dc:creator>
      <dc:date>2025-12-05T15:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894483#M1449822</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'd need 3 major Power Query UI&amp;nbsp;steps. For your sample data, first add a column,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Fill down 'Custom' Column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Filter out 'Category' in Column1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The rest would be renaming, reordering etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same logic for your new data&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378060" data-lia-user-login="dommyw277" class="lia-mention lia-mention-user"&gt;dommyw277&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 16:23:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894483#M1449822</guid>
      <dc:creator>MasonMA</dc:creator>
      <dc:date>2025-12-05T16:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894488#M1449823</link>
      <description>&lt;P&gt;Hi, apologies i have just been told this the actual data:&lt;/P&gt;&lt;P&gt;Password Resets&lt;/P&gt;&lt;P&gt;SR-01&lt;/P&gt;&lt;P&gt;SR-02&lt;/P&gt;&lt;P&gt;SR-03&lt;/P&gt;&lt;P&gt;Information Requests&lt;/P&gt;&lt;P&gt;SR-05&lt;/P&gt;&lt;P&gt;INC-01&lt;/P&gt;&lt;P&gt;INC-02&lt;/P&gt;&lt;P&gt;Application faults&lt;/P&gt;&lt;P&gt;INC-03&lt;/P&gt;&lt;P&gt;SR-06&lt;/P&gt;&lt;P&gt;There are lots of other categories but the incidents and Requests always starts INC or SR&lt;/P&gt;&lt;P&gt;Apologies&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 16:19:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894488#M1449823</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-05T16:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894745#M1449866</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This M code works&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content],
    #"Added Custom" = Table.AddColumn(Source, "Inc/SR", each if Text.StartsWith([Remarks],"SR-",Comparer.OrdinalIgnoreCase) or Text.StartsWith([Remarks],"INC-",Comparer.OrdinalIgnoreCase) then [Remarks] else null),
    #"Added Custom1" = Table.AddColumn(#"Added Custom", "Category", each if [#"Inc/SR"]=null then [Remarks] else null),
    #"Filled Down" = Table.FillDown(#"Added Custom1",{"Category"}),
    #"Filtered Rows" = Table.SelectRows(#"Filled Down", each [#"Inc/SR"] &amp;lt;&amp;gt; null and [#"Inc/SR"] &amp;lt;&amp;gt; ""),
    #"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"Remarks"})
in
    #"Removed Columns"&lt;/LI-CODE&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 23:58:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894745#M1449866</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2025-12-05T23:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894749#M1449868</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378060" data-lia-user-login="dommyw277" class="lia-mention lia-mention-user"&gt;dommyw277&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a “Category” column using Power Query&lt;/P&gt;&lt;P&gt;Step 1: Open Power Query&lt;/P&gt;&lt;P&gt;In Power BI Desktop → Transform Data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 2: Identify category rows&lt;/P&gt;&lt;P&gt;Add a conditional column or mark rows starting with “Category”:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;= Table.AddColumn(PreviousStep, "IsCategory", each if Text.StartsWith([Column1], "Category") then 1 else 0)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;---&lt;/P&gt;&lt;P&gt;Step 3: Fill down the category&lt;/P&gt;&lt;P&gt;Select the Column1 (or a new “Category” column)&lt;/P&gt;&lt;P&gt;Transform → Fill → Down&lt;/P&gt;&lt;P&gt;This will copy the last Category value to the rows below until the next category appears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 4: Filter out category rows (optional)&lt;/P&gt;&lt;P&gt;If you only want codes with their category, filter IsCategory = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Step 5: Rename columns&lt;/P&gt;&lt;P&gt;Column1 → Code&lt;/P&gt;&lt;P&gt;Filled-down column → Category&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Your final table:&lt;/P&gt;&lt;P&gt;Category Code&lt;/P&gt;&lt;P&gt;Category1 SR-01&lt;BR /&gt;Category1 SR-02&lt;BR /&gt;Category1 SR-03&lt;BR /&gt;Category2 SR-05&lt;BR /&gt;Category2 INC-01&lt;BR /&gt;Category2 INC-02&lt;BR /&gt;Category3 INC-03&lt;BR /&gt;Category3 SR-06&lt;/P&gt;&lt;P&gt;Please Mark [as a solution] if this help you&amp;nbsp;&lt;/P&gt;&lt;P&gt;To help others&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2025 00:03:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894749#M1449868</guid>
      <dc:creator>Nabha-Ahmed</dc:creator>
      <dc:date>2025-12-06T00:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894861#M1449885</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378060" data-lia-user-login="dommyw277" class="lia-mention lia-mention-user"&gt;dommyw277&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try &lt;A href="https://drive.google.com/file/d/1Db3R8kdSAPmodGEQ-yXkO6MqtWt3RmVU/view?usp=sharing" target="_blank" rel="noopener"&gt;Sample PBIX&lt;/A&gt; and let us know.&lt;/P&gt;&lt;P&gt;M QUery code looks like below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(
        {
            {"Category1"},
            {"SR-01"},
            {"SR-02"},
            {"SR-03"},
            {"Category 2"},
            {"SR-05"},
            {"INC-01"},
            {"INC-02"},
            {"Category 3"},
            {"INC-03"},
            {"SR-06"}
        },
        type table [Column1 = text]
    ),//replace this step with your source step
    AddedCategory = Table.AddColumn(Source, "Category", each 
        if Text.Contains([Column1], "-") then null else [Column1]
    ),
    FilledDown = Table.FillDown(AddedCategory, {"Category"}),
    FilteredRows = Table.SelectRows(FilledDown, each Text.Contains([Column1], "-")),
    RenamedColumns = Table.RenameColumns(FilteredRows, {{"Column1", "Code"}})
in
    RenamedColumns&lt;/LI-CODE&gt;&lt;P&gt;Please give kudos or mark it as solution once confirmed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Praful&lt;/P&gt;</description>
      <pubDate>Sat, 06 Dec 2025 07:21:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4894861#M1449885</guid>
      <dc:creator>Praful_Potphode</dc:creator>
      <dc:date>2025-12-06T07:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896899#M1450324</link>
      <description>&lt;P&gt;Getting only errors at the moment. What parts do i need to add my info? Just the table part?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 10:25:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896899#M1450324</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-09T10:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896904#M1450326</link>
      <description>&lt;P&gt;Give a name to the Table as Data.&amp;nbsp; Then the code will work.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 10:27:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896904#M1450326</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2025-12-09T10:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896936#M1450335</link>
      <description>&lt;P&gt;Renamed the table to Data as per your screenshot but still getting an error only in the column&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 10:49:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896936#M1450335</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-09T10:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896969#M1450342</link>
      <description>&lt;P&gt;I really do not know what error you are committing.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 11:11:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4896969#M1450342</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2025-12-09T11:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4900581#M1451196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378060" data-lia-user-login="dommyw277" class="lia-mention lia-mention-user"&gt;dommyw277&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="74" data-end="304"&gt;We’re not sure yet what specific error you’re seeing after using the code provided by&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="19851" data-lia-user-login="Ashish_Mathur" class="lia-mention lia-mention-user"&gt;Ashish_Mathur&lt;/a&gt;&amp;nbsp;&lt;BR data-start="171" data-end="174" /&gt;To help you more accurately, could you please share the exact error message or a screenshot of the error.&lt;/P&gt;
&lt;P data-start="306" data-end="389"&gt;This will make it much easier for us to identify the issue and guide you correctly.&lt;/P&gt;
&lt;P data-start="306" data-end="389"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="391" data-end="451"&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="19851" data-lia-user-login="Ashish_Mathur" class="lia-mention lia-mention-user"&gt;Ashish_Mathur&lt;/a&gt;&amp;nbsp;, Thanks for your patience and for sharing the details so far.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 11:51:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4900581#M1451196</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-12-12T11:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4900736#M1451221</link>
      <description>&lt;P&gt;Hi, the column just says "Error"&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 15:12:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4900736#M1451221</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-12T15:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4901788#M1451432</link>
      <description>&lt;P data-start="100" data-end="122"&gt;Thanks for the update.&lt;/P&gt;
&lt;P data-start="124" data-end="338"&gt;When Power Query shows only Error&amp;nbsp;in a column, there’s usually a more detailed message behind it. Could you please click on one of the error cells and share the full error message&amp;nbsp;or a screenshot of it.&lt;/P&gt;
&lt;P data-start="340" data-end="433"&gt;That will help us understand exactly what’s going wrong and guide you in the right direction.&lt;/P&gt;
&lt;P data-start="340" data-end="433"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="435" data-end="501"&gt;Thanks for your patience, happy to help once we have that detail.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 06:39:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4901788#M1451432</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-12-15T06:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4902173#M1451534</link>
      <description>&lt;P&gt;So the file is a csv not an excel document so I cahnged the code to below however, i get an error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Csv.Document(){[Name="Data"]}[Content],&lt;BR /&gt;#"Added Custom" = Table.AddColumn(Source, "Inc/SR", each if Text.StartsWith([Remarks],"SR-",Comparer.OrdinalIgnoreCase) or Text.StartsWith([Remarks],"INC-",Comparer.OrdinalIgnoreCase) then [Remarks] else null),&lt;BR /&gt;#"Added Custom1" = Table.AddColumn(#"Added Custom", "Category", each if [#"Inc/SR"]=null then [Remarks] else null),&lt;BR /&gt;#"Filled Down" = Table.FillDown(#"Added Custom1",{"Category"}),&lt;BR /&gt;#"Filtered Rows" = Table.SelectRows(#"Filled Down", each [#"Inc/SR"] &amp;lt;&amp;gt; null and [#"Inc/SR"] &amp;lt;&amp;gt; ""),&lt;BR /&gt;#"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"Remarks"})&lt;BR /&gt;in&lt;BR /&gt;#"Removed Columns"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expression.Error: 0 arguments were passed to a function which expects between 1 and 5.&lt;BR /&gt;Details:&lt;BR /&gt;Pattern=&lt;BR /&gt;Arguments=[List]&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 12:00:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4902173#M1451534</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-15T12:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4902722#M1451663</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378060" data-lia-user-login="dommyw277" class="lia-mention lia-mention-user"&gt;dommyw277&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="208" data-end="268"&gt;Thanks for clarifying that the source file is a CSV.&lt;/P&gt;
&lt;P data-start="270" data-end="321"&gt;The error you’re seeing is expected with this line:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Source = Csv.Document(){[Name="Data"]}[Content],&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;Unlike Excel, a CSV file doesn’t contain named tables (such as &lt;/SPAN&gt;&lt;CODE data-start="445" data-end="451"&gt;Data&lt;/CODE&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-start="382" data-end="569"&gt;Csv.Document must be provided with the file contents, so referencing a table name will result in the error.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;0 arguments were passed to a function which expects between 1 and 5&lt;/LI-CODE&gt;
&lt;P data-start="644" data-end="873"&gt;To resolve this, please use the Source step that Power Query automatically generates when you import the CSV file, and then apply the remaining transformation steps (Add Column, Fill Down, Filter, etc.) on top of that source.&lt;/P&gt;
&lt;P data-start="875" data-end="1003"&gt;Also, please double check the exact column name (for example, Remarks vs Coloum1) and ensure headers are promoted correctly.&lt;/P&gt;
&lt;P data-start="875" data-end="1003"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1005" data-end="1086"&gt;Once the source step is corrected, the rest of the logic should work as expected.&lt;/P&gt;
&lt;P data-start="1005" data-end="1086"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1005" data-end="1086"&gt;Hope this helps..&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 05:15:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4902722#M1451663</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-12-16T05:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4903080#M1451749</link>
      <description>&lt;P&gt;Sorry but i dont understand your reply.&lt;/P&gt;&lt;P&gt;The column is called RequestID, im not sure what i add where in the advanced editor?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 12:27:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4903080#M1451749</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-16T12:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Column values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4903158#M1451763</link>
      <description>&lt;P&gt;This is what i have minus the top 2 lines which contain info i cant post eg source of files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#"Removed Top Rows" = Table.Skip(#"Changed Type",5),&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(#"Removed Top Rows", [PromoteAllScalars=true]),&lt;BR /&gt;#"Changed Type1" = Table.TransformColumnTypes(#"Promoted Headers",{{"RequestID", type text}, {"Request Mode", type text}, {"Technician", type text}, {"Created Time", type datetime}, {"Completed Time", type datetime}, {"Subject", type text}, {"Request Type", type text}})&lt;BR /&gt;#"Added Custom" = Table.AddColumn(Source, "Inc/SR", each if Text.StartsWith([RequestID],"SR-",Comparer.OrdinalIgnoreCase) or Text.StartsWith([RequestID],"INC-",Comparer.OrdinalIgnoreCase) then [RequestID] else null),&lt;BR /&gt;#"Added Custom1" = Table.AddColumn(#"Added Custom", "Category", each if [#"Inc/SR"]=null then [RequestID] else null),&lt;BR /&gt;#"Filled Down" = Table.FillDown(#"Added Custom1",{"Category"}),&lt;BR /&gt;#"Filtered Rows" = Table.SelectRows(#"Filled Down", each [#"Inc/SR"] &amp;lt;&amp;gt; null and [#"Inc/SR"] &amp;lt;&amp;gt; ""),&lt;BR /&gt;#"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"RequestID"})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type1"&lt;/P&gt;&lt;P&gt;I then get an error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression.SyntaxError: Token ',' expected.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 14:13:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Splitting-Column-values/m-p/4903158#M1451763</guid>
      <dc:creator>dommyw277</dc:creator>
      <dc:date>2025-12-16T14:13:06Z</dc:date>
    </item>
  </channel>
</rss>

