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.

LOG

Returns the logarithm of a number with respect to a base.

Sample usage

LOG(128,2)

Syntax

LOG(X [, base])

Parameters

  • X - The value for which to calculate the logarithm given basevalue must be positive.

  • base - (optional) The base to use for calculation of the logarithm. If base is not provided, LOG returns the logarithm of X with base e (Euler's number).

Examples

Example formula Input Output
LOG(My field, 2) 128 7
LOG(My field, 10) 128 2.10720997
LOG(My field) 128 4.852030264

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
4399907174529645459
true
Tìm kiếm trong Trung tâm trợ giúp
true
true
true
true
true
102097
false
false