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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Doing Calculations on Row level

Hi Everyone - I have been struggling to get the calculation to work as I can only calculate within columns. What I'm trying to achieve is adding a custom column then doing a calculation on row level to determine a value. I have a data set with a time, where a case is logged on a specific time. I want to the subtract a time from another, so that I get a value in minutes (e.g. row 2<time> - row1<time>) so that I can determine the time between cases logged.

 

Source

Excel Calculation

Source_01

Excel 2

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

@Anonymous,

 

You may refer to the following post.

https://community.powerbi.com/t5/Developer/Difference-between-dates-in-the-same-column/td-p/65137

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

@Anonymous,

 

You may refer to the following post.

https://community.powerbi.com/t5/Developer/Difference-between-dates-in-the-same-column/td-p/65137

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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