[英]Convert SQL Script to Tableau Calculated Table
I'm new to Tableau and was wondering how I could create a calculated field that would be equivalent to this SQL statement:我是 Tableau 的新手,想知道如何创建一个与此 SQL 语句等效的计算字段:
Select studentid, min(semester) Select 学生编号,最小(学期)
I'm trying to get the very first recorded semester for each student.我正在尝试为每个学生获得第一个记录的学期。
Thanks谢谢
{fixed [StudentID]:min([Semester])}
Try using this in a calculated field.尝试在计算字段中使用它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.