Skip to main content

いつもお世話になっております。

岸川と申します。

 

表現が難しいですが、何かヒントがございましたらご教示頂きたく投稿させて頂きます。

別途、ローデータと概要、およびサンプルTableauは添付致します。

 

【概要】

sampleの店舗利用状況を確認するために、次シートのようなデータがあったとします。

ローデータとしては、店舗別利用者のみデータ化されています。(※利用していない人は存在しない)

 

ベン図的?ユーザーの店舗別利用状況(重なり・新規)の算出方法

以上のような事を考えております。

 

Tableau上での表現はまだ決めておりませんが、スコアの算出が私には難しく…

 

何かヒントなどございましたら、ご教示頂ければ幸いです。

 

よろしくお願い致します。

5 réponses
  1. 29 juin 2016, 12:11

    パラメータと、LOD+IF を使って実現できると思います。

    <<参考>>

    LOD 表現トップ 15 | Tableau Software

    パラメータと、LOD+IF を使って実現できると思います。<<参考>>LOD 表現トップ 15 | Tableau Software複製して、両方ともField名を直します。4つ Calculated Field を作成します。[Store1 only]{fixed [店舗名]: countd(if [店舗名]=[Param_Store1] then [sample] end)} [Store2

    pastedImage_0.png

    複製して、両方ともField名を直します。

    pastedImage_1.png

    4つ Calculated Field を作成します。

    [Store1 only]

    {fixed [店舗名]: countd(if [店舗名]=[Param_Store1] then [sample] end)}

     

    [Store2 only]

    {fixed [店舗名]: countd(if [店舗名]=[Param_Store2] then [sample] end)}

     

    [Store 1 or 2]

    {fixed [sample]: countd(if [店舗名]=[Param_Store1] or [店舗名]=[Param_Store2] then [sample] end)}

     

    [Store 1 and 2] //// これだけちょっと式条件が異なります。

    {fixed [sample]: countd(if [店舗名]=[Param_Store1] then [sample] end)}

    *

    {fixed [sample]: countd(if [店舗名]=[Param_Store2] then [sample] end)}

     

    データが日付などを含む場合、式にもう少し条件を加えれば、

    日付ごとの集計なども可能です。

     

    村上

     

    9.3 attached

0/9000