Forum Discussion

Kieran-q_20's avatar
Kieran-q_20
Helper I
2 years ago

Help with creating Matrix table Delta

Hi All,

 

I've been using chatbots but i cannot find a way to create a total column in a matrix for the difference between two columns. The columns in this Matrix are ordered by a fiscal week column in my dataset.Would it be possible to create an additional column that could show the Delta between weeks 35 and 36 for example? 

 

Any help is really appreciated, thank you. 

2 Replies

    • Kieran-q_20's avatar
      Kieran-q_20
      Helper I

      Hi Pijush,

       

      I have attatched a sample of the data at the bottom below, unfortunately i could not use the exact data as it is for work but i recreated the file with only relevent information to my request. In the sample data is three columns, the SLOC column is an identifier which makes up the rows of my matrix in PowerBI, the total cost column makes up the values in my PowerBI matrix and finally the calender week column would make up the columns in my matrix. 

       

      The screenshot attatched below shows my requirment, is there a way to create an additional column here in this matrix that would show the Delta between the displayed Weeks? 

       

       

      SLOCTotal Cost Calender Week
      BRS10.04Week 36
      RMA13305.75Week 36
      INT1 Week 36
      DRS6 Week 36
      RMA1 Week 36
      RMA1 Week 36
      RMA20Week 36
      RMA4397028.04Week 36
      INT128557.05Week 36
      DRS6 Week 36
      INT2154721.58Week 36
      DRE2191175.72Week 36
      DRE6102163.72Week 36
      DRS60Week 36
      DRS151158.67Week 36
      EX02869171.11Week 36
      EX0650767.37Week 36
      DRT20Week 36
      IC01208456.87Week 36
      HP010Week 36
      HP022879.01Week 36
      LOG1119196.2Week 36
      LOG21092.57Week 36
      LOG8643.86Week 36
      BRS10.04Week 37
      RMA13305.75Week 37
      RMA20Week 37
      RMA4397028.04Week 37
      INT128557.05Week 37
      INT2154721.58Week 37
      DRE2191175.72Week 37
      DRE6102163.72Week 37
      DRS60Week 37
      DRS151158.67Week 37
      EX02869171.11Week 37
      EX0650767.37Week 37
      DRT20Week 37
      IC01208456.87Week 37
      HP010Week 37
      HP022879.01Week 37
      LOG1119196.2Week 37
      LOG21092.57Week 37
      LOG8643.86Week 37
      RMA10Week 38
      RMA151158.67Week 38
      RMA2869171.11Week 38
      RMA450767.37Week 38
      INT10Week 38
      DRS6208456.87Week 38
      INT20Week 38
      DRE22879.01Week 38
      DRE6119196.2Week 38
      DRS61092.57Week 38
      DRS1643.86Week 38
      EX020Week 38
      EX0651158.67Week 38
      DRT2869171.11Week 38
      IC0150767.37Week 38
      HP010Week 38
      DRE6208456.87Week 38
      DRS60Week 38
      DRS12879.01Week 38
      LOG8119196.2Week 39
      RMA11092.57Week 39
      RMA1643.86Week 39
      RMA20Week 39
      RMA451158.67Week 39
      INT1869171.11Week 39
      DRT250767.37Week 39
      IC010Week 39
      HP01208456.87Week 39
      DRE60Week 39
      DRS62879.01Week 39
      DRS1119196.2Week 39
      DRS61092.57Week 39