Forum Discussion
sd0021781
1 year agoRegular Visitor
Net Login calculation
Hi, Need help I have net login without aux in my excel file >> when i am using it after uploading in Power BI, It is not allowing me to calculate average, both the screenshot are attached for...
- 1 year ago
Thanks,
I got my answer with below mentioned syntax
Average Time W/O Aux = VAR FilteredTable = FILTER( 'One View Noida', 'One View Noida'[Net Login without Aux] <> TIME(0, 0, 0) ) VAR AvgTime = AVERAGEX( FilteredTable, 'One View Noida'[Net Login without Aux] ) RETURN FORMAT(AvgTime, "HH:MM:SS")Thanks
sd0021781
1 year agoRegular Visitor
Not it is showing Sytax Error
shafiz_p
1 year agoSuper User
Please first create a calculated column in your orginal data set to convert time into decimal format. Then create measure with the code I have provided.
I don't see you are returning the result.
add last line
return
result