Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I want to have a custom column with the sum of the days between two dates.
Who can help me out?
Thanks
Solved! Go to Solution.
@Anonymous , Datediff , and for business daye networkdays
new column = datediff([date1], [Date2], day)
New column business days = networkdays([Date1], [Date2],1)
Hi @Anonymous
Go to Add Column> Custom Column.
and deduct the date2 - date1 as shown below. This should probably give you the difference between those dates.
Is this what you are looking for?
@Anonymous , Datediff , and for business daye networkdays
new column = datediff([date1], [Date2], day)
New column business days = networkdays([Date1], [Date2],1)
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 20 | |
| 20 | |
| 12 |
| User | Count |
|---|---|
| 63 | |
| 56 | |
| 47 | |
| 44 | |
| 37 |