Power Query-Pivoting multiple columns to rows

Anonymous
2020-11-21T02:05:43+00:00

HI 

I need help in power query- pivoting selected columns to rows.  In the file below, if you see the data source, some column fields I need for slicers are coming in a column format where I need it rows so I could do slicers.  Whenever I unpivot the selected columns it impacts other columns and I get this below in the attached image where the values are repeating in row.  Basically, if you see the pivot slicer tabs, that is the grouping I need.  this is just a dummy file as example

Grouping that I want to see in the slicers from power query columns:

Days-d30,d60,d90 columns to rows

Brand: FD,HS,MM,OT columns to rows

Arrang: ARR, SETT, SIN columns to rows

date: is already in the row dont need to do anything

PDT: is already in the row don't need to do anything

File Below:

https://1drv.ms/x/s!AmxTHYioikr1lBhoBQu3vOu1v\_zp?e=URvwz9

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

24 answers

Sort by: Most helpful
  1. Anonymous
    2020-11-27T05:15:35+00:00

    Hey Andreas and Ashish,

    Can I see the updated file with the ratio calculation for current month rec/previous month mend bal?   So I could follow it in the file?

    Ashish-

    Can you help me with how you would do it with dax since the above works perfect but if I want to do the image below, if I take pdt column and then take a sub group or attribute..the values come out to be the same...why is that happening?  Since I want to be able to use all the column fields to manipulate the data in different power queries since they have a relationship with the "index column field"

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2020-11-27T05:32:03+00:00

    Hi Brandon, 

    I wasn't able to get into the link that you provided above.  Can you resend it or another one?  I'm not on tiktok

    0 comments No comments
  4. Andreas Killer 144K Reputation points Volunteer Moderator
    2020-11-27T07:49:15+00:00

    Please ignore this user, he is obviously here for other reasons, not to help. I deleted all of his posts.

    Andreas.

    0 comments No comments
  5. Ashish Mathur 101K Reputation points Volunteer Moderator
    2020-11-27T11:40:14+00:00

    Hi,

    You are trying to jump between solutions being provided to you by Andreas and me and therefore i have completely lost interest in this thread.  If you still want me to pitch in, take a small example of 10-20 rows and show me the exact result you want.

    0 comments No comments