Add new Power Query functions and update settings for improved data handling
This commit is contained in:
8
power-query/specific/fDummyTable.m
Normal file
8
power-query/specific/fDummyTable.m
Normal file
@@ -0,0 +1,8 @@
|
||||
(optional LST_DUMMY_DATA as nullable list,
|
||||
optional LST_COLUMNS as nullable list) as table =>
|
||||
let
|
||||
DummyColumns = if LST_COLUMNS = null then LST_DUMMY_DATA else LST_COLUMNS,
|
||||
DummyData = if LST_DUMMY_DATA = null then List.Repeat({null}, List.Count(DummyColumns)) else LST_DUMMY_DATA,
|
||||
Dummy = #table(DummyColumns, {DummyData})
|
||||
in
|
||||
Dummy
|
||||
Reference in New Issue
Block a user