Forum Discussion
Mic1979
1 year agoPost Partisan
Combine list of elements
Dear all, I got some tables from a colleague, and from them I created the following lists: The first one, named High_Runner_Sanatory_AM_Function, And the second one, named High_Runner_San...
Mic1979
1 year agoPost Partisan
Hello m_dekorte
If I apply the List.Zip directly on the parameters, I this way:
let
Source = List.Zip({High_Runner_Sanatory_AM_Function, High_Runner_Sanatory_AM_Analog_Input})
in
Source
I get the following:
==>
==>
It is Ok, but how to get the list expanded?
On the other hand, I need to apply this to multiple cases, so the best is to have a custom function:
So I created this:
(Element_1, Element_2) =>
let
Combination = List.Zip({{Element_1},{Element_2}})
in
Combination
invoked in this way:
let
Source = #"List_Combination (2)"(High_Runner_Sanatory_AM_Function, High_Runner_Sanatory_AM_Analog_Input)
in
Source
In this case I get this:
==>
I am wondering why I get two different results.
Thanks.