Forum Discussion
Sum Like Values from Differing Columns
- 8 years ago
One option would be to unpivot your Category columns using the Power Query Editor
- Click Edit Queries
- Select all Category columns
- Go to the Transform tab and click "Unpivot Columns"
This will take your table that currently looks like this:
And turn it into this:
You can now create a visual and simply drop the "Value" column (or whatever you end up naming it) into both the Axis (or legend) and Value fields (Count of Value). Finally, just filter the visual to not include records where the value is blank.
One option would be to unpivot your Category columns using the Power Query Editor
- Click Edit Queries
- Select all Category columns
- Go to the Transform tab and click "Unpivot Columns"
This will take your table that currently looks like this:
And turn it into this:
You can now create a visual and simply drop the "Value" column (or whatever you end up naming it) into both the Axis (or legend) and Value fields (Count of Value). Finally, just filter the visual to not include records where the value is blank.