Forum Discussion

vkisa's avatar
vkisa
Helper II
2 years ago
Solved

Creating Custom Subrows as Percentage Changes

Hi,

I need to add a subrow that calculates of percentage change for between specific 2 different time periods as below.

 

 

TypeSum of Revenue
Yesterday229,925.28
SDLM196,666.63
Variance11.17
Last 7 days1,348,787.62
7 days SPLM1,325,468.28
MTD4,296,514.29
SPLM4,280,047.93
Variance21.00
YTD13,437,909.68
All54,389,536.48

 

I created the date periods before and they are dynamic by slicers, so I'm happy with this format because there are lots of measures except for Revenue

 

I have tried to create matrix as below but it shows subtotals, it might give a clue,

 

You can find the sample report here:

Sample_report 

 

Thank you,

VK

 

  • Here is the general approach

     

    note that you cannot mix data formats unless you convert everything to to text.

     

8 Replies

  • Here is the general approach

     

    note that you cannot mix data formats unless you convert everything to to text.

     

    • vkisa's avatar
      vkisa
      Helper II

      Thank you lbendlin , but I need to percentage of change for Variance1 and Variance2 levels rather than 1. Is it possible to define a measure on there?

      • lbendlin's avatar
        lbendlin
        Super User

        yes, that's what you need to do. Replace the "1"  with the appropriate measure.