Forum Discussion
Group row data and add as a new column
- 10 years ago
TristanKuesters What I would suggest easiest option would be is to go to power bi desktop query editor -> right click your original query and click Reference. This would create another query that is referenced original. Then for the second group do Group By via Transorm tab that will give you sum of Amount by Group. Close&Apply and then create relationship between two queries using Group column.
So you will end up with query that is grouped by sum of amount like how you wanted and you will also have original query that also contains order number column.
TristanKuesters What I would suggest easiest option would be is to go to power bi desktop query editor -> right click your original query and click Reference. This would create another query that is referenced original. Then for the second group do Group By via Transorm tab that will give you sum of Amount by Group. Close&Apply and then create relationship between two queries using Group column.
So you will end up with query that is grouped by sum of amount like how you wanted and you will also have original query that also contains order number column.
- TristanKuesters10 years ago
Resolver I
It works. Thanks a lot.
Sometime the solution is so simple.