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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |