Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I need to have total number of days after first operation. Thus I'm trying to use this formula
datediff(firstdate([datecolumn]),lastdate([datecolumn]),days) but its not working. am i doing something wrong?
Solved! Go to Solution.
I Used date format and it resolved problem (taking .date from date/time format)
DATEDIFF(FIRSTDATE([Datecolumn].[Date]),LASTDATE([Datecolumn].[Date]),DAY)
I Used date format and it resolved problem (taking .date from date/time format)
DATEDIFF(FIRSTDATE([Datecolumn].[Date]),LASTDATE([Datecolumn].[Date]),DAY)
Have you tried DAY instead of days as well?
datediff(firstdate([datecolumn]),lastdate([datecolumn]),DAY)
It is "Datediff" Formula Option.
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 27 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 69 | |
| 57 | |
| 38 | |
| 21 | |
| 21 |