Forum Discussion
M formula explanation - Table.SelectRows
- 7 years ago
It's not a function name, it's an input parameter of the function, you may refer to tutorials belew about custom function in power query.
http://radacad.com/writing-custom-functions-in-power-query-m
https://blogs.msdn.microsoft.com/mvpawardprogram/2013/08/19/creating-power-query-functions/
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Based on my understanding, this is because you use a Table.Buffer function before the add columns step. Table.Buffer will buffer a table into memory, isolating it from external changes during evaluation which means it's a temparary table and you can call it multiple times with out load table into memery again. It's very similar to a function parameter which is also not in disk memory.
So this question can be converted to "When and where should we use a buffer in power query", you may refer to similar cases below:
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- jdusek927 years ago
Advocate III
v-yuta-msft thank you very much for your answer.
I am getting the idea of buffered tables. In my example the buffered table is called zmenyBuf.
But I am still not sure about this syntax:
(tempNazev) => Table.SelectRows(zmenyBuf,each tempNazev [m]>= [od] and tempNazev [m]<= [do] and tempNazev [ID]=[ID]), Value.Type(zmenyBuf)
what is the function name of (tempNazev) => ?
Could you provide any links with more information about this syntax?
Warm regards
- v-yuta-msft7 years ago
Community Support
It's not a function name, it's an input parameter of the function, you may refer to tutorials belew about custom function in power query.
http://radacad.com/writing-custom-functions-in-power-query-m
https://blogs.msdn.microsoft.com/mvpawardprogram/2013/08/19/creating-power-query-functions/
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.