Forum Discussion
campelliann
Post Patron
4 years agoPivoting "not working" in PowerQuery
So basically I am Pivoting a column called "budget type". That then transforms into "Margem" "Revenue" Custo (3 last columns). The issue is that this only works if Projecto and subproject Rows ar...
- 4 years ago
You can try removing the column before the pivot. Technically you are unpivoting by the way.
Rows to Column = Unpivot
Column to Rows = Pivot
nvprasad
Solution Sage
4 years agoHi Campelliann,
The transofmation looks correct only. There is no data for revenue with the combination of Projecto A & Subprojecto B. Hence it is showing null.
You can replace null with 0 for last 3 columns ( after transformation).
Thank You,
Regads,
Venkat Nalla
campelliann
Post Patron
4 years agoHi there nvprasad ajbogle, is there away to do the Pivot only based on column Project (ignoring SubProject).
- ajbogle4 years ago
Helper I
You can try removing the column before the pivot. Technically you are unpivoting by the way.
Rows to Column = Unpivot
Column to Rows = Pivot