Forum Discussion
table transformation
Thank,
there the data.
| Mese | Jan-24 | |||
| WBS | Revenue | Cost | Delta EAC Revenue | Delta EAC Cost |
| P.00434.1.12 | 4,000.00 € | 2,800.00 € | - € | - € |
| P.00615.1.01 | 19,000.00 € | 15,000.00 € | - € | - |
| P.00906.1.01 | 8,700.00 € | 8,000.00 € | - € | - € |
and here's what I expect
| data | commessa | Revenue | Cost | Delta EAC Revenue | Delta EAC Cost |
| 1/1/2024 | P.00434.1.12 | 4.000,00 | 2.800,00 | 0 | 0 |
| 1/1/2024 | P.00615.1.01 | 5000 | 2000 | 0 | 0 |
| 1/1/2024 | P.00906.1.01 | 8,700.00 € | 8,000.00 € | 0 | 0 |
Ok, so you want transform from this
to this
but you forgot DESCRIPTION!!!!
- I see that you renamed WBS to commensa
- what about [data] column in result? I don't see such column in Source
- there are changes in Revenue and Cost but how?
- Anonymous2 years agoNot applicable
Hi dufoq3 ,
I'm sorry, I'll write in detail what I have and what I expect.
I have this table that is compiled by hand on sharepoint by my management, unfortunately the format is decided by them for a question of visibility and their convenience.
Mese Jan-24 WBS Revenue Cost Delta EAC Revenue Delta EAC
CostP.00434.1.12 4000.00 2800.00 0.00 0.00 P.00615.1.01 19000.00 15000.00 0.00 0.00 P.00906.1.01 8700.00 8000.00 0.00 0.00 I would like to transform it into this format to have the possibility of better managing the data in power bi desktop and I would like to do this by transforming the data directly into power query
Mese WBS Revenue Cost Delta EAC Revenue Delta EAC
Cost1/1/2024 P.00434.1.12 4000.00 2800.00 0.00 0.00 1/1/2024 P.00615.1.01 19000.00 15000.00 0.00 0.00 1/1/2024 P.00906.1.01 8700.00 8000.00 0.00 0.00 This format is necessary for me to create graphs and formulas in dax later. This is what I think but there may also be a better solution, I'm open to any advice.
Thank you and sorry for the misunderstanding
- dufoq32 years agoCommunity Champion
I'm giving you last chance:
Could you answer my question no 2 and 3 please?
- Anonymous2 years agoNot applicable
Hi, dufoq3
Sorry but I have already reported the data in the correct format.
2. what about [data] column in result? I don't see such column in Source: The date column is not there and it is called MESE as in the source table.
3. there are changes in Revenue and Cost but how? the data have not changed, they are the same numbers for each WBS and each MESE
I would like to bring the MESE row as a column before the WBS column, as described in the second tableWhat else should I write to you?