[英]How to convert SQL script to tableau filter?
我有 SQL 腳本如下:
select name, location, max(trans_date)
From dataset
group by name, location
我想使用數據源過濾器在畫面中復制它
使用以下公式創建計算字段:
[trans_date]={FIXED [name],[location]:MAX([trans_date])}
在數據源過濾器中將其設置為 True
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.