You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--
Under section "Table.ToNavigationTable", that function's itemNameColumn is described as follows:
The name of the column to use to determine the preview behavior. This is typically set to the same value as itemKind.
Could you clarify the specifics of what values are expected to be found in the column that's referenced, and how those values will be interpreted? (Example: If I specify the itemNameColumn as "Col1" from my nav table, what values in that column will Power Query interpret as telling it to delay vs. not to delay previewing).
Per https://github.com/microsoft/DataConnectors/issues/30, it sounds like a good way to test the preview behavior is to add a function to the navigation table. If the nav table display shows input boxes for the function's params, the function had its preview delayed; if no param input controls are displayed, preview was not delayed.
Using the test code below, it appears that previewing is not delayed if this param set to a text value, regardless of whether that value is a column name in the nav table, and previewing is delayed if the param is set to null, a logical or a number.
Clarification on how this param works would be most appreciated! -) Thanks!
It looks like Table.ToNavigationTable's param itemNameColumn (which maps to metadata field Preview.DelayColumn on the navigation table that's returned) has the following effects:
If, for a given row, the column corresponding to itemNameColumn contains a text value:
That value will be used as the text displayed in the navigation table's Data column.
Example: see red marks, below.
The Data column's value will have its previewing delayed.
If, for a given row, the column corresponding to itemNameColumn contains something other than a text value:
The value from the column identified by itemKind will be used as the text in the nav. table's Data column.
Example: see blue marks, above.
The Data column's value will not have previewing delayed.
Can you confirm/correct the above, and if correct, clarify the docs for this param?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Perhaps https://github.com/MicrosoftDocs/powerquery-docs/issues/287 would better be answered over in this project. However, unfortunately, I don't have access to a move issue button, so reposting that issue's text below here.
--
Under section "Table.ToNavigationTable", that function's
itemNameColumnis described as follows:Could you clarify the specifics of what values are expected to be found in the column that's referenced, and how those values will be interpreted? (Example: If I specify the
itemNameColumnas "Col1" from my nav table, what values in that column will Power Query interpret as telling it to delay vs. not to delay previewing).Per https://github.com/microsoft/DataConnectors/issues/30, it sounds like a good way to test the preview behavior is to add a function to the navigation table. If the nav table display shows input boxes for the function's params, the function had its preview delayed; if no param input controls are displayed, preview was not delayed.
Using the test code below, it appears that previewing is not delayed if this param set to a text value, regardless of whether that value is a column name in the nav table, and previewing is delayed if the param is set to
null, a logical or a number.Clarification on how this param works would be most appreciated! -) Thanks!
Example Tester:
Notes after further testing:
It looks like
Table.ToNavigationTable's paramitemNameColumn(which maps to metadata fieldPreview.DelayColumnon the navigation table that's returned) has the following effects:itemNameColumncontains a text value:Datacolumn.Example: see red marks, below.
Datacolumn's value will have its previewing delayed.itemNameColumncontains something other than a text value:itemKindwill be used as the text in the nav. table'sDatacolumn.Example: see blue marks, above.
Datacolumn's value will not have previewing delayed.Can you confirm/correct the above, and if correct, clarify the docs for this param?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions