Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
villasenorbritt
Resolver I
Resolver I

Incremented Data

I am dealing with data that deals with wood logs. Production is being tracked by incremented data. For example, between lines 9 and 10 you can see the data going from 536876724 to 53687644. This means that in that 30 seconds,  20 more peices of wood were produced or sent through that station in the mill. What I need is to find a way to bring this into Power Bi. Does anyone know a formula or a way to get production based off of this incremented data? Additionally, I will need to have selections for different intervals of time. I want to be able to select intervals and have power bi group the data accordingly. I'm completely lost on how to make this work or what formula would do the trick. Please help!

 

 

villasenorbritt_1-1659465747373.png

 

1 REPLY 1
ryan_mayu
Super User
Super User

@villasenorbritt 

maybe you can try this

Column = 
VAR _last=maxx(FILTER('Table (2)','Table (2)'[date]<EARLIER('Table (2)'[date])),'Table (2)'[date])
return 'Table (2)'[data]-maxx(FILTER('Table (2)','Table (2)'[date]=_last),'Table (2)'[data])

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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