0 Replies Latest reply on Nov 28, 2018 9:53 AM by Adam Yansick

    R Linear Model Message: This field contains an aggregate calculation which only contains meaningful data...

    Adam Yansick

      I am attempting to run a test linear model through R implementation. Workbook with dummy data attached.

       

      When running the model, I expected to see the Predicted Impression (the calculated field from the R code) produce one value per cost (explanatory) and impression (dependent), similar to the output I get when I run a model in R studio. However, at the data source level, all of the rows for the calculated field are Undefined and I am delivered the following message:

       

      This field contains an aggregate calculation which only contains meaningful data in the visualization's level of detail

       

      The words in this message make sense to me - but I can't figure out what it means in practice. Help here is appreciated.

       

      More importantly, what is happening that is preventing the Tableau output from giving me predicted values for each observation combination?