Hi I want to know how to do matrix math in Power Query. I have a query (Query1) that produced a table (Connection only) and It is time series data in Column 1 with a large number of columns representing data specific to each column header. The column headers for column 2 onward all have unique headers. I have a second query (Query2) that produced similar table (Connection only) with the exact dimensions as the table is Query1. These two tables will always have the same dimensions and same date time data in column 1, and same column headers.
I want to now create a third query (Query3) to do matrix addition/subtraction/multiplication/division across the data columns in both tables in Query1 and Query2. Such that the resulting table in Query3 has the same dimensions with its table data representing the results of the matrix math. I need to preserve the column 1 date time data for that third table so the matrix math is occult form column 2 onward.
Can anyone provide with the M Code to construct that matrix math.
Thanks in advance!
I want to now create a third query (Query3) to do matrix addition/subtraction/multiplication/division across the data columns in both tables in Query1 and Query2. Such that the resulting table in Query3 has the same dimensions with its table data representing the results of the matrix math. I need to preserve the column 1 date time data for that third table so the matrix math is occult form column 2 onward.
Can anyone provide with the M Code to construct that matrix math.
Thanks in advance!