Type.ReplaceTableKeys

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Replaces the keys in a table type.

Type.ReplaceTableKeys(tableType as type,  keys as list) as type  

ArgumentDescription
tableTypeThe table type to modify.
keysThe list of keys to replace.
Type.ReplaceTableKeys(tableType, {}) equals  returns type value with all keys removed  

Show: