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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AlexAlexB
New Member

Calculate within lines

I´m trying to calculate within lines in PowerBI. My table contains a timestamp an a countervalue, which is growing every hour. I want calculte the hourly delta / groth. The Picture show the calculation in MS Excel, which is quite easy. But i didn´t find a way to realize it in MS Power BI DAX. Can somebody help me.

 

 

 

 

 IMG-20190704-WA0003_resized_20190705_115238313.jpeg

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@AlexAlexB 

 

You may refer to the post below to add a calculated column.

https://community.powerbi.com/t5/Desktop/Finding-the-previos-occurrence-within-same-table-based-on-o...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@AlexAlexB 

 

You may refer to the post below to add a calculated column.

https://community.powerbi.com/t5/Desktop/Finding-the-previos-occurrence-within-same-table-based-on-o...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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