Forum Discussion
Creating a Matrix format in the Query Editor
- 9 years ago
You can use "GROUPBY" operation before doing pivoting to achieve waht you are looking for.
The solution provided by BhaveshPatel should be right, please try it and post back if you still have questions.
There is a Matrix visual in Power BI. We can shape and transform the data firstly in Query Editor and then drag the values into Matrix visual. In Query Editor, we can use Group By function to get sum of amount.
Best Regards,
Herbert
- NZemel9 years ago
Advocate I
In response to the answers given.
I did go back into the query editor in order to begin setting up the table. If you look at the first picture I posted, it was not setup in the matrix form which Bhavesh showed in his pictures. In order to mimic his format, I created a conditional column for each stage which brought the amount of money in each stage per opportunity. Once I did this I used a group by in order to bring the data together.