How to create a Histogram with Normal Distribution in

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 18

  • @yuji9733
    @yuji9733 3 роки тому +3

    Good to see it in action. Text-only instruction for this on Tableau site is a bit difficult to follow.

  • @antoniolupen6138
    @antoniolupen6138 6 місяців тому +2

    Absurdly complicated.

    • @btprovider5561
      @btprovider5561  21 день тому

      Thank you for sharing your feedback with us!🙂
      We greatly appreciate it. We will take your feedback into consideration.

  • @julianthuraisingham9617
    @julianthuraisingham9617 3 роки тому +5

    When I create the calculated field named Normal Curve in order to calculate the normal distribution it says "Argument to MAX and Aggregate function is already an aggregation and cannot be further aggregated."

    • @btprovider5561
      @btprovider5561  3 роки тому

      Hi Julian! Thanks for your comment! You must calculate MAX and MIN on an unaggregated column
      . You already have an aggregation on the field and you can't make an additional one. I hope this information was helpful.

    • @andreadacosta8954
      @andreadacosta8954 3 роки тому +1

      @@btprovider5561 I had the same issue as Julian, I followed the instructions step-by-step as they were in the video and the same error appeared for me. The 'Normal Curve' formula is using MAX on the Mean + Standard Deviation calculated fields, which were both calculated using aggregate functions (AVG and STDDEV, respectfully)

    • @xl4756
      @xl4756 2 роки тому +1

      @@btprovider5561 Hi could you explain how to get to the unaggregated column for the max values?

    • @fengshuisensei5871
      @fengshuisensei5871 2 роки тому

      same

    • @brian8110080
      @brian8110080 2 роки тому

      I am having the same issue here. But your standard deviation is aggregated...

  • @JoeSmith-gi1lf
    @JoeSmith-gi1lf 3 роки тому +1

    When I try this, I get an error in my NORMAL CURVE calculation that the MAX function is aggregating and aggregation. How do I fix that?

    • @btprovider5561
      @btprovider5561  Рік тому

      Hi Joe,
      Thanks for your question and sorry for the late reply.
      I presume the error was generated when you had to calculate the MAX for Standard Deviation & Mean, this is why you need to check the formula for the two calculated fields and make sure that they are calculate as a FIXED. The formulas have to be like:
      Standard Deviation = { STDEV( [Sales by Customers] ) }
      Mean = { AVG( [Sales by Customers] ) }
      Hope this is helpful.

  • @PK0608
    @PK0608 3 роки тому +1

    I could not figure out what was the immediate expression after this
    (
    1/MAX([standard deviation])* SQRT(2*PI())
    )
    *
    EXP(
    it looks like it was a MINUS sign followed by square function. But it is not working out
    can someone copy paste the formula here

    • @btprovider5561
      @btprovider5561  3 роки тому

      Hi Prakash. Thank you for your comment. All the steps you need to go through to create a histogram with normal distribution are mentioned here: btprovider.com/histogram-with-normal-distribution-tableau-software/. Also, the formula is:
      (
      1/MAX([Standard Deviation])*SQRT(2*PI())
      )
      *
      EXP
      (
      -SQUARE(MAX([Sales (bin)]) - MAX([Mean]))
      /
      (2 * SQUARE(MAX([Standard Deviation])))
      )

    • @aec7557
      @aec7557 Рік тому

      The issue is with the minus sign inside the square function. If you copy/paste it directly from the supporting article, you will receive a "Bad Character" error. Just delete & retype the minus sign and Tableau will accept the formula.

  • @TravisTraps
    @TravisTraps 2 роки тому

    Normal Curve function is also not working following the instructions. See @andrea da Costa comment below.

    • @aec7557
      @aec7557 Рік тому

      The issue is with the minus sign inside the square function. If you copy/paste it directly from the supporting article, you will receive a "Bad Character" error. Just delete & retype the minus sign and Tableau will accept the formula.

  • @assiyab
    @assiyab 2 роки тому

    Hello! How can we add a kernel density curve to a histogram?