Tableau 不计算所有记录

Tableau does not count all records

我使用 wc -l file.csv 来计算制表符分隔文件中的记录。显示 127992.

连接到 Tableau 中的文件,它显示 63k 条记录和一些更改。好的,所以我检查源文件中的空白 ID:

它在任何情况下都没有公开空 ID 或空 ID,这种情况的可能性非常低,因为从中提取的数据库不允许它为空。想弄清楚,在什么用例场景下,您希望您的软件丢弃一半数据?

在 Tableau 中,我创建了一个计算字段,想知道为什么这是必要的,但没关系: COUNT([Itemnumber])

请记住,我仔细检查以确保没有 NULL 值,然后我得到:63,756

我习惯了 Unix 和 Tableau 新手,所以我错过了什么?

来自文件的示例行:

itemnumber      title   author  itemcallnumber  barcode lib     datelastseen    datelastborrowed        amountoutstanding
7666    Indian legends of American scenes /     Gridley, Marion E.      J 398.2 GRIDLEY 39030000964991  Lost    2001-06-04      2001-06-04
12927   The legend of the Indian paintbrush /   DePaola, Tomie, J 398.2089 DE PAOL      39030002344226  Lost    2002-04-03      2002-04-03
16943   The Tainos :    Jacobs, Francine.       J 972.901 JACOBS        39030001423195  Lost    2003-06-04      2003-06-04
124564  Columbia River, the Astoria odyssey :   Penttila, Bryan.        979.7002 PENTTIL        39030008124408  Lost    2005-09-12      2005-09-12

要修复,我必须:

  1. 编辑连接
  2. 将"text Qualifier"更改为"none"