+ Reply to Thread
Results 1 to 3 of 3

Power Query multiply Column list by row valuus

  1. #1
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    613

    Power Query multiply Column list by row valuus

    Hi, I would be interested in ways to achieve a column by row multiplication in excel SUM( TRANSPOSE( {2;3;4} ) *{1,1,0})*5 = 25

    I have done this through Table to rows and then zipping them together and taking the product, but would like to know if there is a simpler way especially using unpivot which I have tried but end up with more steps than the original, which is;

    Please Login or Register  to view this content.
    I have included this a step by step version along with a unpivot, if anyone has ideas as a way to get the result without a lot of nested lists I would be interested.

    Richard.
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Power Query multiply Column list by row valuus

    A bit brute force:

    Please Login or Register  to view this content.
    Rory

  3. #3
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    613

    Re: Power Query multiply Column list by row valuus

    Thanks , that is more like what I was trying for, the nested list transforms took me a while to get right.
    I will leave it open for the moment and I'd be interested if anyone has any ideas regarding unpivot.

    Richard.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Power Query Nested join to bring single column as list
    By Dicken in forum Office 365
    Replies: 2
    Last Post: 02-22-2024, 01:05 PM
  2. Replies: 0
    Last Post: 05-24-2023, 12:39 PM
  3. [SOLVED] Power Query Grouping Column as list
    By Dicken in forum Office 365
    Replies: 2
    Last Post: 05-17-2023, 07:48 AM
  4. Power Query Multiply column in transform
    By Dicken in forum Office 365
    Replies: 1
    Last Post: 04-11-2023, 10:00 AM
  5. [SOLVED] Power Query extract values from list column with nulls
    By Imbizile in forum Excel General
    Replies: 4
    Last Post: 02-04-2021, 10:00 AM
  6. [SOLVED] Power Query/Power Pivot Conditional Column creation & chart
    By mz_h in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2020, 06:07 PM
  7. Replies: 10
    Last Post: 06-25-2020, 12:19 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1