Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
I have a table similar to below:
| Jan | Count | Feb | Count | Mar | Count | ||
| 01.01.2018 | 5 | 01.02.2018 | 8 | 01.03.2018 | 30 | ||
| 02.01.2018 | 20 | 02.02.2018 | 20 | 02.03.2018 | 2 | ||
| 03.01.2018 | 10 | 03.02.2018 | 1 | 03.03.2018 | 14 | ||
| 04.01.2018 | 3 | 04.02.2018 | 50 | 04.03.2018 | 33 |
Which I want to convert to:
| Month | Count |
| 01.01.2018 | 5 |
| 02.01.2018 | 20 |
| 03.01.2018 | 10 |
| 04.01.2018 | 3 |
| 01.02.2018 | 8 |
| 02.02.2018 | 20 |
| 03.02.2018 | 1 |
| 04.02.2018 | 50 |
| 01.03.2018 | 30 |
| 02.03.2018 | 2 |
| 03.03.2018 | 14 |
| 04.03.2018 | 33 |
I tried pivoting the columns but that only seems to work well for the dates. Not sure how else to proceed. Any help appreciated.
Solved! Go to Solution.
There may be a better option, but you could copy the table 2 times, for the first one, just select Jan and Count and remove other columns. Then second Feb and Count and so on
Then you would have 3 tables
Jan Count
Feb Count
Mar Count
Here you can just do an append and have it all in 2 columns
There may be a better option, but you could copy the table 2 times, for the first one, just select Jan and Count and remove other columns. Then second Feb and Count and so on
Then you would have 3 tables
Jan Count
Feb Count
Mar Count
Here you can just do an append and have it all in 2 columns
There may be a better option, but you could copy the table 2 times, for the first one, just select Jan and Count and remove other columns. Then second Feb and Count and so on
Then you would have 3 tables
Jan Count
Feb Count
Mar Count
Here you can just do an append and have it all in 2 columns
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |