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
Hi All,
I am importing data from a sharepoint excel and running a python script to expand and maniplate the table into the required format. This works excellently but I have found out that python only supports personal gateway. It is a requirement that we can refresh this report with cloud gateway. Therefore I believe my only option is to recreate what my python script was doing in power bi (which I am less familiar with).
In essence what I am trying to do is as follows:
Input table (sharepoint):
| Effort | ||||
| Prefix | 2020 Q1 | 2020 Q2 | 2020 Q3 | 2020 Q4 |
| proj1 | 10 | 14 | 13 | 12 |
| proj2 | 2 | 6 | 10 | 12 |
Should expand to:
| Date | Prefix | Effort |
| 01/01/2020 | proj1 | 10 |
| 01/01/2020 | proj2 | 2 |
| 02/01/2020 | proj1 | 10 |
| 02/01/2020 | proj2 | 2 |
| .. | .. | .. |
| .. | .. | .. |
| 31/12/2020 | proj1 | 12 |
| 31/12/2020 | proj2 | 12 |
I want to take a simple table with effort per project for each quarter and expand it out to each day of the year and for each prefix.
What would be the 'power bi way' to approach this problem? My guess is that I am going to have to learn some M and tackle this in the advanced editor. Any material or examples is welcome!
Your expert advise would be appreciated!
Olly
@owallis , Can Transpose help: https://yodalearning.com/tutorials/power-query-helps-transposing-data/
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |