Gunakan fungsi if dengan matches_filter untuk menampilkan nilai yang berbeda. Contoh berikutnya menunjukkan sintaksis kolom kustom yang menampilkan "Terlambat" jika tanggal invoice sudah lebih dari 30 hari:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-31 UTC."],[],[],null,["# matches_filter\n\nThe `matches_filter` function can be used in [custom filters](/looker/docs/filtering-and-limiting#custom-filters) and [custom fields](/looker/docs/custom-fields) to determine whether the value of a field matches a [filter expression](/looker/docs/filter-expressions).\n\n### Syntax\n\n**`matches_filter(field, ``filter expression``)`**\n\nThe `matches_filter` function applies the filter expression to the field and returns `Yes` if the value in the field matches the filter expression or `No` if it does not.\n\n### Examples\n\nThis example returns `Yes` in a custom field if the invoice date is less than 30 days old: \n\n matches_filter(${billing.invoice_date}, `30 days`)\n\nUse the [`if`](/looker/docs/functions-and-operators#functions_for_any_looker_expression_4) function with `matches_filter` to return different values. The next example shows syntax of a custom field that returns \"Late\" if the invoice date is over 30 days old: \n\n if(matches_filter(${billing.invoice_date}, `30 days`), \"Current\", \"Late\")\n\n### Things to know\n\nThe string that defines the filter expression must be enclosed in backtick (\\`) characters."]]