Skip to content
OmidBI Logo – Expert in Power Query, Excel, and Business Intelligence Solutions

OmidBI

  • By Difficulty
    • ⭐️ Beginner
    • ⭐️⭐️ Easy
    • ⭐️⭐️⭐️ Intermediate
    • ⭐️⭐️⭐️⭐️ Advanced
    • ⭐️⭐️⭐️⭐️⭐️Expert
    • ⭐️⭐️⭐️⭐️⭐️⭐️Complex
  • By Topic
    • Advanced Mathematics Problem
    • Aggregation & Summarization
    • Column Splitting
    • Column Transformation
    • Custom Grouping
    • Data Cleaning
    • Data Transformation
    • Date & Time Handling
    • Financial Problems
    • Indexing & Ranking
    • Merging & Joining
    • Missing Values
    • Pivot & Unpivot
    • Text Processing
  • By Creator
    • Omid Challenges
    • ExcelBI Excel Challenges
    • ExcelBI Power Query Challenges
    • Crispo Challenges
  • By Software
    • DAX Challenges
    • Excel Challenges
    • Excel VBA Challenges
    • Google Sheets Challenges
    • Office Script Challenges
    • Power Query Challenges
    • Python Challenges
    • R Challenges
    • SQL Challenges
  • Books
    • 96 Common Challenges in Power Query
Home » General Tags » Power Query » M Functions » M Table Functions » Table.Sort

Table.Sort

Sorts a table by specified columns in ascending or descending order in Power Query.

Assign Rank1 and Rank2
Posted in
  • ExcelBI Excel Challenges
  • Indexing & Ranking
  • ⭐️ Beginner

Assign Rank1 and Rank2

Challenge No. 691: Give the rank1 and rank2 as shown.
Solved using: Python.

February 10, 2026July 21, 2025
Transpose table, summing values from
Posted in
  • ExcelBI Power Query Challenges
  • ⭐️ Beginner

Transpose table, summing values from

Challenge No. 275: Transpose the problem table into result table where value is sum of Values from problem table.
Solved using: Python.

December 25, 2025July 14, 2025
Summarise the table with total
Posted in
  • Aggregation & Summarization
  • ExcelBI Power Query Challenges
  • ⭐️⭐️ Easy

Summarise the table with total

Challenge No. 266: Summarise the table as shown with a total row after each sales person’s data.
Solved using: Python.

December 16, 2025July 14, 2025
Top Two Department Salaries
Posted in
  • ExcelBI Excel Challenges
  • ⭐️ Beginner

Top Two Department Salaries

Challenge No. 543: Find out the top 2 salaries in all departments.
Solved using: Python in Excel.

November 28, 2025July 30, 2025
Spread Yearly Rows to Columns
Posted in
  • ExcelBI Power Query Challenges
  • ⭐️⭐️ Easy

Spread Yearly Rows to Columns

Challenge No. 240: Transpose the problem table into result table as shown.
Solved using: R.

November 23, 2025July 14, 2025
Exclude Weekend Leave Days
Posted in
  • Date & Time Handling
  • ExcelBI Power Query Challenges
  • ⭐️⭐️ Easy

Exclude Weekend Leave Days

Challenge No. 234: Find the total leaves taken by the employees.
Solved using: Python.

November 19, 2025July 14, 2025
Clean Salary and Promotion Data
Posted in
  • Date & Time Handling
  • ExcelBI Power Query Challenges
  • ⭐️⭐️⭐️ Intermediate

Clean Salary and Promotion Data

Challenge No. 226: Clean the given data and align them properly in departments and sort on Dept ID & Names.
Solved using: Python in Excel.

November 14, 2025July 14, 2025
Salesperson Commission Breakdown
Posted in
  • ExcelBI Power Query Challenges
  • Missing Values
  • ⭐️⭐️ Easy

Salesperson Commission Breakdown

Challenge No. 212: Find the total commission of each sales person and sort it descending on total amount.
Solved using: Python.

October 31, 2025July 14, 2025
Group by Income Then Sort
Posted in
  • Custom Grouping
  • ExcelBI Power Query Challenges
  • ⭐️⭐️ Easy

Group by Income Then Sort

Challenge No. 211: Append the groups one below the other and sort on Income descending, Name ascending within each group.
Solved using: R.

October 30, 2025July 14, 2025
Group Per Month
Posted in
  • Crispo Challenges
  • Custom Grouping
  • ⭐️ Beginner

Group Per Month

Challenge No. 60: Group the customers per month.
Solved using: Python.

October 15, 2025July 11, 2025

Posts pagination

1 2 … 4 Next
  • 96 Common Challenges in Power Query
  • Advanced Mathematics Problem
  • Aggregation & Summarization
  • Books
  • Column Splitting
  • Column Transformation
  • Crispo Challenges
  • Custom Aggregation & Summarization
  • Custom Grouping
  • Data Cleaning
  • Data Transformation
  • data validation
  • Date & Time Handling
  • Excel Challenges
  • ExcelBI Excel Challenges
  • ExcelBI Power Query Challenges
  • Financial Problems
  • Indexing & Ranking
  • Merging & Joining
  • Missing Values
  • Omid Challenges
  • Pivot & Unpivot
  • Power Query Challenges
  • Python Challenges
  • Text Processing
  • ⭐️ Beginner
  • ⭐️⭐️ Easy
  • ⭐️⭐️⭐️ Intermediate
  • ⭐️⭐️⭐️⭐️ Advanced
  • ⭐️⭐️⭐️⭐️⭐️Expert
  • ⭐️⭐️⭐️⭐️⭐️⭐️Complex

BYROW CHAR CODE CONCAT DROP FILTER HSTACK IF IFERROR INDEX LAMBDA LEFT LEN LET List.Distinct List.Transform LOOKUP MAP MATCH MAX MID MONTH Python Python Automation Python for Data Analysis Python for Excel REDUCE ROW ROWS SCAN SEQUENCE SORT SUBSTITUTE Table.AddColumn Table.Group Table.SelectRows TAKE Text.Combine Text.Split TEXTJOIN TEXTSPLIT TOCOL UNIQUE VSTACK XLOOKUP

Recent Posts

  • Max Total on Consecutive Days
  • Extract Valid Year Ranges
  • Swap Grid Diagonals
  • Pivot with Total Line
  • Remove One Letter Palindrome

Recent Comments

No comments to show.
Copyright © 2026 OmidBI.
Powered by WordPress and HybridMag.
  • By Difficulty
    • ⭐️ Beginner
    • ⭐️⭐️ Easy
    • ⭐️⭐️⭐️ Intermediate
    • ⭐️⭐️⭐️⭐️ Advanced
    • ⭐️⭐️⭐️⭐️⭐️Expert
    • ⭐️⭐️⭐️⭐️⭐️⭐️Complex
  • By Topic
    • Advanced Mathematics Problem
    • Aggregation & Summarization
    • Column Splitting
    • Column Transformation
    • Custom Grouping
    • Data Cleaning
    • Data Transformation
    • Date & Time Handling
    • Financial Problems
    • Indexing & Ranking
    • Merging & Joining
    • Missing Values
    • Pivot & Unpivot
    • Text Processing
  • By Creator
    • Omid Challenges
    • ExcelBI Excel Challenges
    • ExcelBI Power Query Challenges
    • Crispo Challenges
  • By Software
    • DAX Challenges
    • Excel Challenges
    • Excel VBA Challenges
    • Google Sheets Challenges
    • Office Script Challenges
    • Power Query Challenges
    • Python Challenges
    • R Challenges
    • SQL Challenges
  • Books
    • 96 Common Challenges in Power Query