Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi all,
I have data pulling in a query in the "Current Format" and want to adjust the query to pull it in like the "Future Format".
Essentially want to use this to track status by month over a long period of time. And with there being tens of thousands of "Numbers" I get too much data in the current format to pull into one spreadsheet.
Thanks for all your help!
Solved! Go to Solution.
NewStep=let a=Table.TransformColumns(CurrentFormat,{"Month",Text.From}) in Table.Pivot(a,List.Distinct(a[Month]),"Month","Status",Text.Combine)
NewStep=let a=Table.TransformColumns(CurrentFormat,{"Month",Text.From}) in Table.Pivot(a,List.Distinct(a[Month]),"Month","Status",Text.Combine)
Edit: NVM I figured it out. Thank you!
Thanks for your response. I'm getting an error from the List.Distinct function.
List.Distinct(a[Month])
Expression.Error: The column 'Month' of the table wasn't found.
Details:
Month
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |