<?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: Generate a Custom Navigation Table with List.Generate in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069685#M31679</link>
    <description>&lt;P&gt;For the source data should I assume a two column table with a mild hierarchy, say one parent has 5 children and the other 12 ?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Sep 2021 19:03:04 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-09-10T19:03:04Z</dc:date>
    <item>
      <title>Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2067669#M31657</link>
      <description>&lt;P&gt;I'm trying to create a Dynamic Nav table with a Custom Connector. How do I use List.Generate() and Navigation table together to create for example 10 tables that iterate through the loop and add to the Nav table as it goes. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like for example using&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= List.Generate(() =&amp;gt; 1, each _ &amp;lt; 10, each _ + 1)&lt;/LI-CODE&gt;&lt;P&gt;This on&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;shared NavigationTable.Simple = () =&amp;gt;
    let
        objects = #table(
            {"Name",       "Key",        "Data",                           "ItemKind", "ItemName", "IsLeaf"},{
            {"Item1",      "item1",      #table({"Column1"}, {{"Item1"}}), "Table",    "Table",    true},
            {"Item2",      "item2",      #table({"Column1"}, {{"Item2"}}), "Table",    "Table",    true},
            {"Item3",      "item3",      FunctionCallThatReturnsATable(),  "Table",    "Table",    true},            
            {"MyFunction", "myfunction", AnotherFunction.Contents,       "Function", "Function", true}
            }),
        NavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf")
    in
        NavTable;

shared FunctionCallThatReturnsATable = () =&amp;gt;
    #table({"DynamicColumn"}, {{"Dynamic Value"}});&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Sep 2021 22:47:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2067669#M31657</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-09T22:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069642#M31673</link>
      <description>&lt;P&gt;You need to use the fourth parameter (the selector) to combine the results.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;List.Generate(
    () =&amp;gt; [x = 1, y = {}],
    each [x] &amp;lt; 10,
    each [x = List.Count([y]), y = [y] &amp;amp; {x}],
    each [x]
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just keep in mind that this will result in ever larger chunks of data being handed around on each loop.&lt;/P&gt;
&lt;P&gt;alternatively use List.Accumulate or recursive functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data in usable format (not as a picture - maybe insert into a table?) and show the expected outcome.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:32:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069642#M31673</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T18:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069647#M31674</link>
      <description>&lt;P&gt;I actually updated my question to this&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/Loop-to-create-table/m-p/2069541#M31670" target="_blank"&gt;https://community.powerbi.com/t5/Developer/Loop-to-create-table/m-p/2069541#M31670&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:34:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069647#M31674</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T18:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069655#M31675</link>
      <description>&lt;P&gt;still hard (for me) to help without sample data and expected outcome.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:37:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069655#M31675</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T18:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069667#M31676</link>
      <description>&lt;P&gt;Ok, Im trying to make this dynamic&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CreateNavTable = (num) as table =&amp;gt; 

    

    let

        ColumnNames = Table.ColumnNames(DatabaseRecords(num)),

        objects = #table(
            {"Name",         "Key",   "Data",                                                    "ItemKind", "ItemName", "IsLeaf"},{

            {ColumnNames{0}, ColumnNames{0}, Table.Column(DatabaseRecords(num), ColumnNames{1}), "Table",    "Table",    true},
            {ColumnNames{1}, ColumnNames{1}, Table.Column(DatabaseRecords(num), ColumnNames{1}), "Table",    "Table",    true},
            {ColumnNames{2}, ColumnNames{2}, Table.Column(DatabaseRecords(num), ColumnNames{2}), "Table",    "Table",    true},
            {ColumnNames{3}, ColumnNames{3}, Table.Column(DatabaseRecords(num), ColumnNames{3}), "Table",    "Table",    true},
            {ColumnNames{4}, ColumnNames{4}, Table.Column(DatabaseRecords(num), ColumnNames{4}), "Table",    "Table",    true},
            {ColumnNames{5}, ColumnNames{5}, Table.Column(DatabaseRecords(num), ColumnNames{5}), "Table",    "Table",    true},
            {ColumnNames{6}, ColumnNames{6}, Table.Column(DatabaseRecords(num), ColumnNames{6}), "Table",    "Table",    true},
            {ColumnNames{7}, ColumnNames{7}, Table.Column(DatabaseRecords(num), ColumnNames{7}), "Table",    "Table",    true},
            {ColumnNames{8}, ColumnNames{8}, Table.Column(DatabaseRecords(num), ColumnNames{8}), "Table",    "Table",    true},
            {ColumnNames{9}, ColumnNames{9}, Table.Column(DatabaseRecords(num), ColumnNames{9}), "Table",    "Table",    true},

            {ColumnNames{10}, ColumnNames{10}, Table.Column(DatabaseRecords(num), ColumnNames{10}), "Table",    "Table",    true},
            {ColumnNames{11}, ColumnNames{11}, Table.Column(DatabaseRecords(num), ColumnNames{11}), "Table",    "Table",    true},
            {ColumnNames{12}, ColumnNames{12}, Table.Column(DatabaseRecords(num), ColumnNames{12}), "Table",    "Table",    true}
        }),
        NavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf")
    in
        NavTable;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This currently makes 12 Nav Tables in the data section that are sub nav tables. CreateNavTable is called&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;shared Navigation = () =&amp;gt;
    let
        objects = #table(
            {"Name",                    "Key",                   "Data",                                                     "ItemKind", "ItemName", "IsLeaf"},{


            {NameOfDatabase(0),  DatabaseID(0),    CreateNavTable(0), "Table",    "Table",    false},
            {NameOfDatabase(1),  DatabaseID(1),    CreateNavTable(1), "Table",    "Table",    false}
            }),
        NavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf") 

    in
        NavTable;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, I will be calling "CreateNavTable" with many different numbers. It won't always have 12 subtables. Maybe more, maybe less. So instead of CreateNavTable being hard codes to creating 12. I need to be able to loop with a parameter in the function. I can find the amount I need to loop through just fine. I just need to get the "List.Generate or list.Accumulate" working. I'm not sure how though. Hopefully, this clears things up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:51:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069667#M31676</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T18:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069672#M31677</link>
      <description>&lt;P&gt;yes, that helps. what's the structure of DatabaseRecords ?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:57:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069672#M31677</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T18:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069680#M31678</link>
      <description>&lt;LI-CODE lang="markup"&gt;    let

        ColumnNames   = Table.ColumnNames(DatabaseRecords(num)),
        ListToIterate = List.Numbers(0, 2),

        objects = List.Accumulate(ListToIterate, 0, (state, current) =&amp;gt; #table({"Name", "Key",   "Data", "ItemKind", "ItemName", "IsLeaf"},{ {ColumnNames{current}, ColumnNames{current}, Table.Column(DatabaseRecords(num), ColumnNames{current}), "Table",    "Table",    true} })),
        //objects2 = List.Accumulate(ListToIterate, 0, (state, current) =&amp;gt; #table({"Name", "Key",   "Data", "ItemKind", "ItemName", "IsLeaf"},{ {ColumnNames{current}, ColumnNames{current}, Table.Column(DatabaseRecords(num), ColumnNames{current}), "Table",    "Table",    true} })),

        //combined = Table.Combine({objects, objects2}),

        CombinedNavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf")
    in&lt;/LI-CODE&gt;&lt;P&gt;Ive tried something like this. This will return the 2nd element. Ive also been able to create two tables with this format and use the "Combine" function for tables. It works but I cant seem to automate it with a loop.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:56:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069680#M31678</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T18:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069685#M31679</link>
      <description>&lt;P&gt;For the source data should I assume a two column table with a mild hierarchy, say one parent has 5 children and the other 12 ?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:03:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069685#M31679</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T19:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069690#M31681</link>
      <description>&lt;P&gt;Yes it will all be dynamic and changing, So for example how I call CreateNavTable(0). I will be putting a parameter so for example if I have 50 sub tables that I need the function will read "CreateNavTable(0 , 50)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:09:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069690#M31681</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T19:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069692#M31682</link>
      <description>&lt;P&gt;I was more thinking along the lines of "here's a table with a bit of hierarchy, make a nav table (of nav tables) out of it"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1631301120631.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/591460i7B2B1E2F9BE7BEF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1631301120631.png" alt="lbendlin_0-1631301120631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069692#M31682</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T19:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069702#M31683</link>
      <description>&lt;P&gt;Yeah that should work. Here is the example of 12 hard-coded&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 548px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/591463i310C8B7248594C95/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt; in.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:17:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069702#M31683</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T19:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069726#M31684</link>
      <description>&lt;P&gt;the icons for your top and next levels should be folder, no?&amp;nbsp; I think you didn't specify ItemKind accordingly.&amp;nbsp; Should be Folder&amp;gt;Folder&amp;gt;Table&amp;nbsp; (or something else for the top level)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/handlingnavigationtables#values-for-itemkind" target="_blank"&gt;Handling navigation for Power Query connectors | Microsoft Docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:35:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069726#M31684</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T19:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069737#M31685</link>
      <description>&lt;P&gt;Yeah, I changed it right now. But I believe its simply a change cosmetic&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:39:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069737#M31685</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T19:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069742#M31686</link>
      <description>&lt;P&gt;This&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;Table.ToNavigationTable&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;function is a bit pompous. I think it will be easier to hand craft the code.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:41:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069742#M31686</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T19:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069788#M31687</link>
      <description>&lt;P&gt;I mean does that function matter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        objects = #table(
            {"Name",         "Key",   "Data",                                                    "ItemKind", "ItemName", "IsLeaf"},{

            {ColumnNames{0}, ColumnNames{0}, Table.Column(DatabaseRecords(num), ColumnNames{1}), "Table",    "Table",    true}
        }),
        NavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This just needs the ability to iterate through 1-any number with a loop. We create "NavTable" and then after that we can combine it with a table and then keep on repeating that right?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 20:03:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069788#M31687</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T20:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069912#M31688</link>
      <description>&lt;P&gt;Your "Data"&amp;nbsp; column needs to point to an actual table, or a function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that you use the same information for Key and Name but a different source for ItemName.&amp;nbsp; I need to adjust my sample source table accordingly.&amp;nbsp; Do you want the two hierarchy levels in the same table or separately?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 21:01:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069912#M31688</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T21:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069928#M31689</link>
      <description>&lt;P&gt;Can you send both examples?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 21:15:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069928#M31689</guid>
      <dc:creator>JackSoderstrom</dc:creator>
      <dc:date>2021-09-10T21:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069938#M31690</link>
      <description>&lt;P&gt;Here is a proof of concept for the child level&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUTJUitWBsIzgLGM4ywTMcgKpM0AwDRFMIwTTGMFE0maqFBsLAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t]),
    #"Added Custom" = Table.AddColumn(Source, "Custom", each #table({"Name","Key","Data","ItemKind","ItemName","IsLeaf"},{{[Column2],{[Column2]},"your function here " &amp;amp; [Column2],"Table",[Column2],true}})),
    #"Grouped Rows" = Table.Group(#"Added Custom", {"Column1"}, {{"Group", each _, type table [Custom=table]}}),
    #"Added Custom1" = Table.AddColumn(#"Grouped Rows", "Children", each Table.Combine([Group][Custom]))
in
    #"Added Custom1"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would still need to call the NavTable function on the "Children"&amp;nbsp; tables and then on the "Column1"&amp;nbsp; tables to tie it together, but you can already see the dynamic approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1631309365310.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/591521i564FAD08525926BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1631309365310.png" alt="lbendlin_0-1631309365310.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 21:29:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2069938#M31690</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-09-10T21:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2076538#M31753</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/316811"&gt;@JackSoderstrom&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Did lbendlin&amp;nbsp;'s suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements to find them more quickly.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If these also don't help, please share more detailed information to help us clarify your scenario to test.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 01:13:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/2076538#M31753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T01:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Generate a Custom Navigation Table with List.Generate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/3506468#M45186</link>
      <description>&lt;P&gt;Hi, I have multiple APIS, want to create nested navigator based on below scenario&amp;nbsp;&lt;BR /&gt;from 1st API I get user &amp;amp; its company details,&lt;BR /&gt;from 2nd API get company's User details based on company id which I pass from 1st API&lt;BR /&gt;from 3rd API get Assets of Company&amp;nbsp;based on company id which I pass from 1st API,&lt;BR /&gt;from 4th API get AsseetDetails&amp;nbsp;based on assetid which I pass from 3rd API,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Want to create navigator Like Below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Companies&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Company1&lt;UL&gt;&lt;LI&gt;Asset1&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Asset1Details&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Asset2&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Asset2Details&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;UL&gt;&lt;LI&gt;Users&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Company2&lt;UL&gt;&lt;LI&gt;AssetXYZ&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;AssetXYZDetails&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Asset4ABC&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;AssetABCDetails&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Users&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;How can I achive this Dynamicaly with help of below refernce&lt;BR /&gt;&lt;SPAN&gt;shared NavigationTable.Nested = () as table =&amp;gt; let objects = #table( {"Name", "Key", "Data", "ItemKind", "ItemName", "IsLeaf"},{ {"Nested A", "n1", CreateNavTable("AAA"), "Table", "Table", false}, {"Nested B", "n2", CreateNavTable("BBB"), "Table", "Table", false}, {"Nested C", "n3", CreateNavTable("CCC"), "Table", "Table", false} }), NavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf") in NavTable; CreateNavTable = (message as text) as table =&amp;gt; let objects = #table( {"Name", "Key", "Data", "ItemKind", "ItemName", "IsLeaf"},{ {"Item1", "item1", #table({"Column1"}, {{message}}), "Table", "Table", true}, {"Item2", "item2", #table({"Column1"}, {{message}}), "Table", "Table", true} }), NavTable = Table.ToNavigationTable(objects, {"Key"}, "Name", "Data", "ItemKind", "ItemName", "IsLeaf") in NavTable;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 07:15:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-a-Custom-Navigation-Table-with-List-Generate/m-p/3506468#M45186</guid>
      <dc:creator>pravinB</dc:creator>
      <dc:date>2023-10-31T07:15:06Z</dc:date>
    </item>
  </channel>
</rss>

