This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have a raw table looking like this:
| Date1 | Type | Product | Country | Value |
| Enero de 2021 | Toneladas | 1520685 | Spain | 464,51 |
| Enero de 2021 | Euros | 1520685 | Spain | 3519652,9 |
| Febrero de 2021 | Toneladas | 1520685 | Spain | 1518,89 |
| Febrero de 2021 | Euros | 1520685 | Spain | 11926359,76 |
| Marzo de 2021 | Toneladas | 1520685 | France | 1091,23 |
| Marzo de 2021 | Euros | 1520685 | France | 9272786,71 |
| Abril de 2021 | Toneladas | 1520685 | France | 975,72 |
| Abril de 2021 | Euros | 1520685 | France | 9212019,58 |
| Mayo de 2021 | Toneladas | 1520685 | Germany | 637,51 |
| Mayo de 2021 | Euros | 1520685 | Germany | 8595398,4 |
| Julio de 2021 | Toneladas | 1520685 | Germany | 514,96 |
| Julio de 2021 | Euros | 1520685 | Germany | 8750124,6 |
| Enero de 2021 | Toneladas | 65895 | Spain | 785,58 |
| Enero de 2021 | Euros | 65896 | Spain | 12696599,79 |
| Febrero de 2021 | Toneladas | 65897 | Russia | 396,69 |
| Febrero de 2021 | Euros | 65898 | Russia | 3064614,07 |
| Marzo de 2021 | Toneladas | 65899 | Spain | 1172,18 |
| Marzo de 2021 | Euros | 65900 | Spain | 9038334,41 |
And what I want is the following table as a result in Power BI, so everytime I update the source .csv file this new table will update as this:
| Date1 | Product | Country | Toneladas | Euros |
| Enero de 2021 | 1520685 | Spain | 464,51 | 3519652,9 |
| Febrero de 2021 | 1520685 | Spain | 1518,89 | 11926359,8 |
| Marzo de 2021 | 1520685 | France | 1091,23 | 9272786,71 |
| Abril de 2021 | 1520685 | France | 975,72 | 9212019,58 |
| Mayo de 2021 | 1520685 | Germany | 637,51 | 8595398,4 |
| Julio de 2021 | 1520685 | Germany | 514,96 | 8750124,6 |
| Enero de 2021 | 65895 | Spain | 785,58 | 12696599,8 |
| Febrero de 2021 | 65897 | Russia | 396,69 | 3064614,07 |
| Marzo de 2021 | 65899 | Spain | 1172,18 | 9038334,41 |
How can I do it?. thanks
Solved! Go to Solution.
@ciervax , select Type and value and pivot them in power query
https://radacad.com/pivot-and-unpivot-with-power-bi
Pivot Data(Power Query) :https://www.youtube.com/watch?v=oKByyI09Bno&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=12
@ciervax , select Type and value and pivot them in power query
https://radacad.com/pivot-and-unpivot-with-power-bi
Pivot Data(Power Query) :https://www.youtube.com/watch?v=oKByyI09Bno&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=12
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 19 | |
| 19 |