Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Grouping dates and KPIs by category

Hi all,   I need to group the KPI values by the date grouping - for example showing all week calculations / values under Week, Month, etc   Is there a way to achieve the below in Power BI?   ...
  • AllisonKennedy's avatar
    AllisonKennedy
    6 years ago

    You're very welcome Anonymous 

     

    I'm not sure I understand your latest question.


    Anonymous wrote:

    Thanks a lot AllisonKennedy that looks like a really good solution. 

    One question please, if we want to show all scopes (Week,Month,Day) in the same table (not single select from DimTD[Scope] filter), is there a way to achieve that?

     

    Thanks again


    Try to use a matrix visual, not a table visual. If you put the DimTD[Scope] in the matrix you can get it to all show in the same table and look almost exactly like your image. You can even put Year above Scope in the columns, and put all your measures in values, and just format the matrix to turn off subtotals and show values as rows.

     

    From my previous post on how to get the configuration right:  

    The last trick is getting the configuration correct. So you will need to ensure you are using a date filter on the page or visual. Then place DimTD[Scope] in columns and all of your measures in Values of a Matrix visualization. Click on the format painter icon in the visualizations pane to turn off totals and turn on values show as rows.