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
Dear Community,
I have the following problem with a simple calculation:
I want to calculate the difference between these Dates (like in the first row in this Excel Sheet), (for exmample H1: H2-G2, Column I1: I2-H2...) - but the Dates are from one column with many datas:
I hope you can help with answering this question and thanks a lot for your help!
BR
Solved! Go to Solution.
@Anonymous , I think you need measure , I do not think column will work here
measure =
var _max = maxx(filter(allselected(Table), Table[Date] < max(Table[Date]) ), Table[Date])
return
datediff(_max, max(Table[Date]), day )
Plot with date without time from Table
@Anonymous , I think you need measure , I do not think column will work here
measure =
var _max = maxx(filter(allselected(Table), Table[Date] < max(Table[Date]) ), Table[Date])
return
datediff(_max, max(Table[Date]), day )
Plot with date without time from Table
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 45 | |
| 32 | |
| 18 | |
| 16 | |
| 16 |