Forum Discussion
Anonymous
4 years agoNot applicable
AVERAGE measure produce error
Posted this earlier but a moderator thought it was spam... It isn't. I have only just begun using Power BI and I'm following along with some YouTube videos. I thought I had a good grip, so would ...
- 4 years ago
You can't use the Time datatype. You have to use DURATION.
SpartaBI
Community Champion
4 years agoAnonymous that means the data type of the column is text.
Change the data type to time in Power Query and close and apply.
Anonymous
4 years agoNot applicable
Hi, thanks for the quick response. I changed the data type to "Time" but forgot to save/apply it. I've gone to redo it but now it's complaining that it cannot automatically convert the column:
- SpartaBI4 years ago
Community Champion
Anonymous can you start from scratch and update me you still get the error?
- Anonymous4 years agoNot applicable
I deleted the measure and restarted Power BI Desktop but am still getting the error.
- SpartaBI4 years ago
Community Champion
You do that in power query?
Can you share your model?