3 Replies Latest reply on Sep 17, 2018 2:06 PM by Patrick Van Der Hyde

    Dollarized Demand Plan (Tableau 10.2)

    Tyler Gigot

      I am in search of a solution.


      Attached is a packaged workbook containing a dash board that I've developed which analyzes product sales. It shows year to date units sold, year to go units forecasted, and total units (actual + forecast) in three columns, as well as the percentage of growth / decline in each of those time horizons against the prior year data, in another three columns. This is broken down into two containers, one that shows location and the other that shows product line. Ignore the variety of floating filters in the top left corner. What we are examining here is an old line of products that is obsolete now so don't worry we aren't really struggling this bad as an organization......


      My objective is to be able to have an equivalent set of calculated fields that converts these units into dollars using the "time phased value" dimension. The dash board would ideally look exactly the same but with dollars instead of units.


      Here are some notes to understand about the data that is already built in:



      -Actual quantity = actual quantity

      -Lag 0 resultant quantity = current forecast quantity

      -Current volume (post publish) = actual + forecast

      -Period date = time in monthly buckets most granular

      -Date selector = a reference date parameter; actual quantities <= to date selector and forecast > date selector

      -Time phased value = price per unit


      A couple of things regarding the time phased value measure..... It is different for every month of period date. Ideally I would like to keep this static across all calculations using whatever value is in there for July 2018. Considering this is an old obsolete product line I also would not be surprised if some of the time phased value prices are completely off..... Don't worry about that the main concern is that the math adds up correctly so when I roll this out to the main areas it will be valid. Units x Price = Sales $$


      I've been playing around for a couple of days with various level of detail calculated fields and have not been able to completely get it right. Hopefully this provides enough information for me to get some help on the issue. Really appreciate the help from the forum gurus here. You'd think this would be a straight forward calculation but it is a lot more complicated than I hoped.


      Thank you,


      Future data rock star - Tyler Gigot

        • 1. Re: Dollarized Demand Plan (Tableau 10.2)
          Patrick Van Der Hyde

          Hello Tyler,


          Have you found a solution for this since it was posted?  One thing that would help is to provide a value for a single view that is expected so we know if we are hitting the right values or not in the workbook. 

          What version of Tableau was this workbook created in?


          For the July 2018 value for phased time value, I suggest instead utilizing a parameter to adjust for this by the user of the view rather than calculting it as a value that is then used across the view.  It will be much easier to manage and use.  If the calculation is a must then I would consider a second data source with a data source filter that limits the data to just the month/year that will be used for the static value and then using the value from the secondary data source as the multiplier.


          I hope that helps getting started.


          • 2. Re: Dollarized Demand Plan (Tableau 10.2)
            Tyler Gigot

            I did end up finding a solution yes thank you. The version of tableau (10.2) was included in the title of the original post.

            • 3. Re: Dollarized Demand Plan (Tableau 10.2)
              Patrick Van Der Hyde

              Tyler - thank you so much.  Sorry I totally skipped the version in the title there but thank you for including. 


              If your solution would be beneficial to others, please consider adding here for others benefit. 


              Thank you