Tableau Desktop では、連続値には特殊値の書式設定オプションを使用できますが、不連続の値には使用できません。テキスト テーブルで、特定の不連続の値を指定した記号として表示するには、まず計算フィールドで、指定した値を負の整数として設定する必要があります。指定した値を負にしたら、[書式設定] ペイン -> [数値] ドロップ ダウン メニューのカスタム書式設定オプションを使用して、正の数値とは個別にそれらを書式設定できます。下のステップで、スーパーストア データを使用した状況の例を詳しく説明しています。ここでの目標は [Sales (売上)] が指定した値 (500) 未満である場合は常に、テキスト テーブルにアスタリスクを表示することです。
IF sum([Sales]) < 500 THEN -1 ELSE (sum([Sales])) END
#,##0.0;"*"
";" の後に入力したものはすべて負の数値の書式設定にのみ影響します。そのため、"*" と書くと、Tableau にテーブル内の負の数値が表示されている場所に文字列 "*" を配置することを伝えられます。500 未満のすべての値を -1 に変更したため、これらのすべての値がアスタリスクで表示されるようになりました。
001458326
1577 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.