Forum Discussion
Column topn average
- Anonymous1 year ago
Hi Cris22 , lbendlin, thank you for your prompt reply!
Make your filter on page then show the average value in card as shown below:Top2SpeedAverage = VAR TopSpeeds = TOPN( 2, ALLSELECTED('Table'), 'Table'[SPEED], DESC ) RETURN AVERAGEX(TopSpeeds, 'Table'[SPEED])Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Cris22 , lbendlin, thank you for your prompt reply!
Make your filter on page then show the average value in card as shown below:
Top2SpeedAverage =
VAR TopSpeeds =
TOPN(
2,
ALLSELECTED('Table'),
'Table'[SPEED],
DESC
)
RETURN
AVERAGEX(TopSpeeds, 'Table'[SPEED])
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Cris221 year agoFrequent Visitor
Dear Joy,
Thank you very much for your answer, I was using visual data segmentations on the panel, I wanted the user to chose the segmentation and the topn number. I was able to make the average work somehow. Thank u!
- Anonymous1 year agoNot applicable
Hi Cris22,
If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft fabric community.
Thank you for your understanding.