Forum Discussion
android1
10 years agoPost Patron
Time difference in hours
Hi, I'm trying to calculate the diiference in hours between two date/time columns. When I use DateDiff I am not able to use the two columns below.
Vvelarde
10 years agoCommunity Champion
DATEDIFF(TablaHoras[TimeFrom];TablaHoras[TimeTo];HOUR)
android1
10 years agoPost Patron
Thanks for both answers. I'm getting the below error for both;
- Vvelarde10 years agoCommunity Champion
DateDiff_Big...In PowerBI this function doesnt work.
Your Measure should be look like this:
MeasureName=DateDiff(xxxxxx,xxxxxx,Hour)
- android110 years agoPost Patron
I'm confused. When I type DateDiff( I don't get the TimeFrom or TimeTo columns for selection in the measure.
If I use a calculated column I do but get the above error.