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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.