Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Tenho a seguite dúvida, tenho este schema de dados:
I have a question, I have this data schema:
Gostaria de realizar uma tabela assim:
I would like to do a table like this:
Ano Quantidade
2018 83.579
2017 546.001
2016 898.221
Solved! Go to Solution.
Hi @Antonio_Flávio,
You need to do something change in Query Editor like below. Please follow the steps:
1. Go to Query Editor and selecet ANO_ATUAL and click Pivot Column under Transform.
2. Do the same option for 2017 and 2016.
3. Select column 2017,2018,2016 and click Unpivot.
4. Then you could create the calculated table with the formula below.
Table 2 = SUMMARIZE('Table','Table'[Year],"Q",SUMX('Table','Table'[Value]))
Here is the result.
For more details, you could have a reference my attachment.
Best Regards,
Cherry
Hi @Antonio_Flávio,
You need to do something change in Query Editor like below. Please follow the steps:
1. Go to Query Editor and selecet ANO_ATUAL and click Pivot Column under Transform.
2. Do the same option for 2017 and 2016.
3. Select column 2017,2018,2016 and click Unpivot.
4. Then you could create the calculated table with the formula below.
Table 2 = SUMMARIZE('Table','Table'[Year],"Q",SUMX('Table','Table'[Value]))
Here is the result.
For more details, you could have a reference my attachment.
Best Regards,
Cherry
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
66 | |
66 | |
48 | |
31 |