Forum Discussion
Duration Displayed on Card
- 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.
This still displays a decimal on the card. Maybe there's something I'm doing wrong with the formatting of my visual?
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.
- wcameron146 years agoFrequent Visitor
This helped with the formatting. My formula isn't quite right but I think I can figure it out from there. Thanks for the help!
- stevedep6 years ago
Memorable Member
Welcome, kudos (thumps up are always welcome)