Forum Discussion
Net Login calculation
- 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
removed the extra bracket. still their is no change
again remove extra bracket ] in first line after 'One View Noida'[Net Login Without Aux]
You formula for measure may not work. As I can see that you have used original time column inside averagex. You first need to create a column to convert "Net Login without Aux] to TimeinDecimal.
Follow steps I have provided. To create column, see the image below:
first click number 1 and then write formula in number 2. exactly same just need to change column name.
Hope this helps!!
- sd00217811 year agoRegular Visitor
Not it is showing Sytax Error
- shafiz_p1 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