The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I'm looking for advice on how I could split the follwoing rows which display my target and my actuals into columns, essentially reducing on rows and increading my columns.
This is what I have
This is what I need to achive.
Note, I have a number of columns, not just 1, I've just reduced and simplifted to create this example.
Date | Column4 | Column 1 |
01 May 2020 | Target | 36 |
01 May 2020 | Actual | 38 |
01 June 2020 | Target | 60 |
01 June 2020 | Actual | 51 |
01 July 2020 | Target | 0 |
01 July 2020 | Actual | 0 |
01 September 2020 | Target | 40 |
01 September 2020 | Actual | 35 |
01 October 2020 | Target | 60 |
01 October 2020 | Actual | 78 |
01 November 2020 | Target | 0 |
01 November 2020 | Actual | 0 |
01 December 2020 | Target | 0 |
01 December 2020 | Actual | 0 |
Solved! Go to Solution.
Use the "Pivot" operation in Power Query. It's a one-click operation.
Use the "Pivot" operation in Power Query. It's a one-click operation.
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
17 | |
11 | |
7 | |
5 |