Skip to main content

Hi,

I am trying to reproduce the k-means clustering example from the tutorial on integrating R and Tableau (https://www.tableau.com/learn/tutorials/on-demand/using-r-within-tableau?product=tableau_desktop&version=tableau_desktop_2018_2&topic=calculations)

 

The problem I am running into is actually to do with generating the original scatter graphs of the petal attributes in Tableau (original sheet name 'Iris Clusters', my attmept to reproduce called 'Iris Clusters trial').

The data is supplied without an ID column so in order to see the data at the level of detail of each example, I have to change to a dimension.

But doing this stops the clustering calculated field from working.

 

What am I missing?

1 answer
  1. Nov 27, 2018, 10:16 AM

    Hi Beth,

     

    You may want to disaggregate Measures on a view

    (as it has been done on the original Iris Clusters one)

    by setting the flag (in the TD main menu)

    Analysis --> Aggregate Measures to OFF:

    Hi Beth, You may want to disaggregate Measures on a view (as it has been done on the original Iris Clusters one) by setting the flag (in the TD main menu) Analysis --> Aggregate Measures to OFF: Besid

     

    Besides, the [Clusters] is a Table Calculation,

    so it should be addressed properly -- 

    using all of the Dimensions on a view

    as a single addressing window:

    Screenshot+2018-11-27+at+13.15.41.png

     

    Yours,

    Yuri

0/9000