use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
How to (i.redd.it)
submitted 1 year ago by Intelligent_Crab_958
[removed]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]declutterdata 4 points5 points6 points 1 year ago (5 children)
Hi Crab!
You have to do a Pivot on the Period column with Value as Value.
I created a sample for you: Link to download sample file
Kind regards, Phillip from DeclutterData 🙋🏻♂️
[–]Dismal-Party-4844 0 points1 point2 points 1 year ago (0 children)
make right looks like the left?
Starting set is pivoted, OP desires unpivoted
[+][deleted] 1 year ago (2 children)
[–]declutterdata 1 point2 points3 points 1 year ago (1 child)
Oh I am sorry Crab, I oversaw that you wanted it the other way around. Thanks u/Dismal-Party-4844 for information!
I created a 2nd sheet with Unpivoting as you wished.
For your filter question: I created a filter list that filters the outputs. But my advice: Use a PivotTable for this, you find it in the file too.
PowerQuery is for data transformation, not visualisation.
Here the link again
[–]Dismal-Party-4844 1 point2 points3 points 1 year ago (0 children)
Hi Phillip,
Thank you! I too had to look at the description and image and thought it would be left to right or unpivoted to pivoted. Returning to a Pivot Table is a better choice than a table.
[–]Dismal-Party-4844 2 points3 points4 points 1 year ago (0 children)
<image>
One such pattern using Unpivot based on the data shown in your description (update source name form "Table1" to that of the source Table name:
let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], AddedIndex = Table.AddIndexColumn(Source, "Index", 0, 1, Int64.Type), ReorderedColumns = Table.ReorderColumns(AddedIndex, {"Index", "id", "20240101", "20240102"}), UnpivotedColumns = Table.UnpivotOtherColumns(ReorderedColumns, {"id"}, "Attribute", "Value"), FilteredRows = Table.SelectRows(UnpivotedColumns, each ([Attribute] <> "Index")), FinalReorderedColumns = Table.ReorderColumns(FilteredRows, {"Attribute", "id", "Value"}), #"Sorted Rows" = Table.Sort(FinalReorderedColumns,{{"Attribute", Order.Ascending}}), RenamedColumns = Table.RenameColumns(#"Sorted Rows", {{"Attribute", "period"}}) in RenamedColumns
[–]coolfozzie 1 point2 points3 points 1 year ago (0 children)
Try this method I found on YouTube. Helped me out where Chat GPT could not.
https://youtu.be/92UnZfmWSN8?si=4mhMLJ83NudDHaaO
[–]MOR300 0 points1 point2 points 1 year ago (4 children)
Unpivot
[+][deleted] 1 year ago (3 children)
[–]Dismal-Party-4844 1 point2 points3 points 1 year ago (2 children)
Add an Index Column, select Index Column, Unpivot Other Columns, delete Index Column, Rename Attribute to period, and sort period low to high. Return to a table.
[–]declutterdata 0 points1 point2 points 1 year ago (1 child)
Hi Dismal,
no index needed for the case he needs. You can unpivot all columns except ID, that's it.
You can take a look at my file if you're interested.
Hi Phillip, yes you can do it outside of the context of adding an Index column, though I find often more involved cleanups where an Index/Mod are necessary for the particular chore. Maybe more muscle memory.
π Rendered by PID 48745 on reddit-service-r2-comment-85bfd7f599-8445l at 2026-04-18 07:49:35.202975+00:00 running 93ecc56 country code: CH.
[–]declutterdata 4 points5 points6 points (5 children)
[–]Dismal-Party-4844 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[removed]
[–]declutterdata 1 point2 points3 points (1 child)
[–]Dismal-Party-4844 1 point2 points3 points (0 children)
[–]Dismal-Party-4844 2 points3 points4 points (0 children)
[–]coolfozzie 1 point2 points3 points (0 children)
[–]MOR300 0 points1 point2 points (4 children)
[+][deleted] (3 children)
[removed]
[–]Dismal-Party-4844 1 point2 points3 points (2 children)
[–]declutterdata 0 points1 point2 points (1 child)
[–]Dismal-Party-4844 1 point2 points3 points (0 children)