Scalar, selection of the consolidation math possible?

Welcome to our Forums Technical Support Support Desk Scalar, selection of the consolidation math possible?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12088
    bernd
    Participant

      Got a nice scalar / heatmap for multiple values of each x/y – field, which are for x the hours and y the weekday.

      As the numbers looks like, scalar is calcuting the average / mean for each field, if this single x/y combination is present in data.

      Is there any way, to select the kind of calcutation?

      2023-08-prices-heat

      csv file with the used data

       

      #12089
      bernd
      Participant

        Sorry, information not clear:

        For each x / y field there are multiple values in the data.

        #12099
        dgteam
        Moderator

          The scalar field command does not do any calculation.  It only shows the values, and the last values in the table are the ones shown.

          To illustrate:

          Scalar1

          Now, add a repeated row and notice how the value in the field is last in the table.

          Scalar2

          Instead, you can use the Pivot command to group based on your x and y.  Try selecting the columns and adding the Pivot command.  This command has a place to select what to output.  Here we show the count.

          Scalar3

           

          If you want the mean value, select that and then use the gear menu to Extract the calculated values.

          Scalar4

          Now, the mean values are in your table, and they can be input to the scalar.

          scalar5

          In the future, we may add some calculations into the scalar, but this would be the approach to use for now. Essentially, you are creating a date of pipeline where the output from one command can be used as the input to another.

           

          #12100
          bernd
          Participant

            Thank you for your help!

            intermediate step with the pivot command enables now more, than expected.

            Have a nice day!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.

          Welcome to our Forums Technical Support Support Desk Scalar, selection of the consolidation math possible?