'Grouping multiple columns in Paginated Report

I have a Power BI dataset as a data source to a paginated report builder. This dataset when display on a table, it looks like below enter image description here

This is a column picker report, for example, when I pick all columns from the parameter, it should return above screenshot. If I pick 3 columns, it will return enter image description here

Note - the figures are repeating.

WeekYear, AveragePrice, Sales and NetProft are not part of columns passed as parameter.

What I want to achieve for my table visual to aggregate whatever columns selected based on WeekYear, AveragePrice, Sales and NetProft. As shown below: enter image description here

How can I achieve this SSRS Table or paginated report?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source