This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hi, seeking for some help.
I have a database with thousands of items and their sell prices from many competitors in different locations (similar to the below table).
I was wondering how to trasnform it in power query to have a single line for each item and the competitor prices on columns (similar to the below).
It is easy to do with a Pivot Table, but I do not know how to do it in Power Query.
Thanks in advance!
TP
Solved! Go to Solution.
Power Query also have a pivot function
=Table.Pivot(YourPreviousStepName,List.Distinct(YourPreviousStepName[Competitor]),"Competitor","Price")
Power Query also have a pivot function
=Table.Pivot(YourPreviousStepName,List.Distinct(YourPreviousStepName[Competitor]),"Competitor","Price")
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |