cancel
Showing results for
Did you mean:

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Regular Visitor

## Calculating absolute values from cumulative data set

Hi,

I am trying to calculate the absolute month values (in month difference) from a cumulative data set.  Where am I going wrong with the formular?

thanks

James

2 ACCEPTED SOLUTIONS
Regular Visitor

Thanks  @ryan_mayu . That has worked but I realised  I left a fundamental part out. I will have different sites so want to apply this calculation per site i.e so I get the january absolute value for site 1 and site 2 (i will have lots of sites in reality) is there a quick edit to account for this?

Using current formula it goes a bit wrong

James

Super User

pls try this

``Column = 'Table'[cumulative]-maxx(FILTER('Table','Table'[Month]=EDATE(EARLIER('Table'[Month]),-1)&&'Table'[site]=EARLIER('Table'[site])),'Table'[cumulative])``

Proud to be a Super User!

3 REPLIES 3
Regular Visitor

Thanks  @ryan_mayu . That has worked but I realised  I left a fundamental part out. I will have different sites so want to apply this calculation per site i.e so I get the january absolute value for site 1 and site 2 (i will have lots of sites in reality) is there a quick edit to account for this?

Using current formula it goes a bit wrong

James

Super User

pls try this

``Column = 'Table'[cumulative]-maxx(FILTER('Table','Table'[Month]=EDATE(EARLIER('Table'[Month]),-1)&&'Table'[site]=EARLIER('Table'[site])),'Table'[cumulative])``

Proud to be a Super User!

Super User

pls try this

``Column = 'Table'[cumulative]-maxx(FILTER('Table','Table'[Month]=EDATE(EARLIER('Table'[Month]),-1)),'Table'[cumulative])``

Proud to be a Super User!