Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello, close this question, but not exactly ...
https://community.powerbi.com/t5/Desktop/Dynamic-quot-Pivot-quot-Table/m-p/3054134#M1038032
I would like to pivot a table using two columns, could you help me ?
Thank you
Pierre
Solved! Go to Solution.
Thank you ti a French forum : here is the solution :
let
Source = Excel.CurrentWorkbook(){[Name="Tableau5"]}[Content],
#"Colonne dynamique" = Table.Pivot(Source, List.Distinct(Source[Country]), "Country", "Choice")
in
#"Colonne dynamique"
Pierre
Thank you ti a French forum : here is the solution :
let
Source = Excel.CurrentWorkbook(){[Name="Tableau5"]}[Content],
#"Colonne dynamique" = Table.Pivot(Source, List.Distinct(Source[Country]), "Country", "Choice")
in
#"Colonne dynamique"
Pierre
| User | Count |
|---|---|
| 15 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |