简体   繁体   English

比较 Tableau 中的两个数据集

[英]Compare two data sets in Tableau

I am new to tableau.I want to create a dashboard with the following requirement.我是 tableau 的新手。我想创建一个具有以下要求的仪表板。 In the source table, there are three different status('OK','SU','TX') for a particular product in a particular day.在源表中,特定日期的特定产品具有三种不同的状态('OK'、'SU'、'TX')。 The status column overwrites with the new status when the status gets change.当状态改变时,状态列会被新状态覆盖。 I want to create a report that shows the product Id, previous day status(if the previous day status='TX'or 'SU') and today status.我想创建一个报告,显示产品 ID、前一天状态(如果前一天 status='TX' 或 'SU')和今天状态。 Should I maintain a separate table for the above requirement or is there any other method in tableau?我应该为上述要求维护一个单独的表格还是表格中有任何其他方法?

If the data is overwritten then it's gone.如果数据被覆盖,那么它就消失了。 Therefore, if you want to know the status of the previous day, you'll need to keep the previous day data somewhere.因此,如果您想知道前一天的状态,则需要将前一天的数据保留在某处。

Tableau isn't a database, it's a visualisation layer, so the data should be stored elsewhere and fed into Tableau to create your dashboard. Tableau 不是数据库,而是一个可视化层,因此数据应存储在其他地方并输入 Tableau 以创建仪表板。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM