Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi, im new to Power BI/power query and currently looking into some things I could create with an API. Wanted to test navigation tables according to https://docs.microsoft.com/en-us/power-query/handlingnavigationtables The M function Table.ToNavigationTable() is within my connector:
shared NavigationTable.Simple = () =>
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;
However Table.ToNavigationTable gives the error "The name Table.ToNavigationTable doesn't exist in the current context" as it was an undeclared variable. I was expecting this function to work as for an example: Table.ToList?
Solved! Go to Solution.
Incase someone stumbles on the same problem working through the docs:
Solution at the bottom in the .pq file
https://github.com/microsoft/DataConnectors/blob/master/samples/NavigationTable/NavigationTable.pq
Incase someone stumbles on the same problem working through the docs:
Solution at the bottom in the .pq file
https://github.com/microsoft/DataConnectors/blob/master/samples/NavigationTable/NavigationTable.pq
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |