Notification

This article is about Looker Studio. For Looker documentation, visit https://cloud.google.com/looker/docs/intro.

Trang bạn đã yêu cầu hiện không có sẵn bằng ngôn ngữ của bạn. Bạn có thể chọn ngôn ngữ khác ở cuối trang hoặc dịch nhanh mọi trang web sang ngôn ngữ mà bạn chọn bằng cách sử dụng tính năng dịch được tích hợp sẵn trong Google Chrome.

MEDIAN

Returns the median value from a set of numbers.

Sample usage

MEDIAN(Page Views)

Syntax

MEDIAN(X)

Parameters

  • X - a numeric field or expression.

Notes

  • X cannot be an aggregated field or the result of an aggregation function.
  • MEDIAN returns the center value if X contains an odd number of values. If X contains an even number of values, MEDIAN will interpolate between the two center values.

Examples

Example formula Input Output
MEDIAN(Page Views)
  • 95
  • 100
  • 92
95
MEDIAN(Page Views)
  • 100
  • 95
97.5

Related resources

Thông tin này có hữu ích không?

Chúng tôi có thể cải thiện trang này bằng cách nào?
true
What's new in Looker Studio?

Learn about new features and recent changes. Looker Studio release notes live on Google Cloud.

Search
Clear search
Close search
Main menu
6497361467719150104
true
Tìm kiếm trong Trung tâm trợ giúp
true
true
true
true
true
102097
false
false