Forum Discussion
wcameron14
6 years agoFrequent Visitor
Duration Displayed on Card
Hello, I am working with Google Analytics data and attempting to display a card with the Average Session Duration. I have created a custom column to display this data on my table in Power Query w...
- 6 years ago
What you could do is create a calculated column:
averagepersessioncol = 'Table'[Total Session Duration]/'Table'[Sessions]And a measure:
durationpersession = Format(AVERAGE('Table'[averagepersessioncol]); "HH:MM:SS")For the 3rd and 4rth row this yields:
Which is the average of averages.. like here in excel:
Link to Power BI file here.
please mark as solution if this works for you.
Kind regards, Steve.
wcameron14
6 years agoFrequent Visitor
stevedep I went back and added pictures to the post to make it a little easier to understand.
stevedep
Memorable Member
6 years agoThanks, that's helpful. How is the session duration stored in your dataset? Is it a duration in seconds or minutes (sum of)?