Forum Discussion

gvg's avatar
gvg
Post Prodigy
7 years ago
Solved

Power Query working standalone, but not in function

Hi, I have this function that calculates column total and places it on every row. It works OK if it is placed in the stand-alone query, but it fails when placed into a function.   = Table.AddColum...
  • gvg's avatar
    7 years ago

    Well, it turns out that one has to be careful with column format definition. If you have column in general format, it adds up ok in stand-alone query, but fails if the query is organized as a function. When I define column as Decimal or Integer it all works as expected both in stand-alone query and function.