cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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!

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

#### Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors