可建議
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
用量
view: view_name {
dimension: field_name {
suggestable: yes
}
}
|
階層
suggestable
|
可能的欄位類型
維度、維度群組、指標、篩選器、參數
接受
布林值 (是或否)
|
定義
使用者在支援建議的欄位上篩選探索時,Looker 預設會建議該欄位的可能值 (如要瞭解如何影響篩選建議,請參閱「變更篩選建議」)。
如果使用者在「Look」或「探索」中篩選欄位,您可以使用 suggestable 參數停用欄位的建議。suggestable 的預設值為 yes,且系統會盡可能提供建議。如果將 suggestable 設為 no,Looker 就不會建議欄位值。
範例
禁止 Looker 為 name 維度提供篩選條件值建議:
dimension: name {
type: string
sql: ${TABLE}.name ;;
suggestable: no
}
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-02-10 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-02-10 (世界標準時間)。"],[],[]]