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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mikah
Frequent Visitor

Difference between dates in the same column based on the value in the other column

Hi All,

 

I have a problem in Power BI getting the difference between dates in the same column based on the value in the other column.

 

Here is the scenario:

mikah_0-1675364468727.png

 

I wanted a result:

- the average time of pending_transmit to posted

- the average time of pending_delete to expired

 

OUTPUT to table

Table for pending_transmit to posted

mikah_3-1675365350408.png

 

Table for pending_delete to expired

mikah_2-1675365287395.png


Your help is very much appreciated.

 

Thank you!

2 REPLIES 2
Syk
Super User
Super User

Can you share a bit more of your starting data table? I have a feeling using a pivot in power query will solve this for you.

mikah
Frequent Visitor

This is my data table

mikah_0-1675372901237.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors