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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Yes, as long as datecolumn is always less than today (in the past). The format is:
Days = DATEDIFF([datecolumn],TODAY(),DAY)
This would be for a custom column.
If it is not always in the past, you could do it this way:
Days = datecolumn = TODAY() * 1.
Hi @kishoresakamuri,
Of course, you can. The syntax of DATEDIFF() is below:
DATEDIFF(<start_date>, <end_date>, <interval>)
Best Regards,
Qiuyun Yu
DATEDIFF(<start_date>, <end_date>, <interval>)
Note :
Start date should be less then end date
Hi @kishoresakamuri,
Of course, you can. The syntax of DATEDIFF() is below:
DATEDIFF(<start_date>, <end_date>, <interval>)
Best Regards,
Qiuyun Yu
I have tried multiple times to get the diference between today and start date but always getting error. All i need is just the AGING of the line item.
Also, it should be WORKING DAYS. but I could not get beyond this...
Yes, as long as datecolumn is always less than today (in the past). The format is:
Days = DATEDIFF([datecolumn],TODAY(),DAY)
This would be for a custom column.
If it is not always in the past, you could do it this way:
Days = datecolumn = TODAY() * 1.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 43 | |
| 36 | |
| 35 |