How do I add multiple subtotals in tableau? -


my report has following structure

id , currency, subdepartment, unit , revenue, salary

i wanted print subtotals of revenue , salary following combinations
(id, currency, subdepartment) (id, currency, )

the row has discrete dimensions hence default grandtotal/subtotal option not working .

is thr alternate calculate subtotals , display beneath each grouping.?

if you're hoping see in single worksheet, sounds job lod (level-of-detail) functions. i'm not sure how want visualize it, here's how make table.

create calculated fields:

  1. revenue total (id, currency)

    { fixed [id], [currency] : sum([revenue]) } 
  2. salary total (id, currency)

    { fixed [id], [currency] : sum([salary]) } 

we can create table (for example) subtotals , totals placing following pills in rows shelf, in order:

  1. [id]
  2. [currency]
  3. sum([revenue total (id, currency)]) (make discrete)
  4. sum([salary total (id, currency)]) (make discrete)
  5. [subdepartment]
  6. sum([revenue]) (make discrete)
  7. sum([salary]) (make discrete)

the resulting table this:

 id   currency   total revenue   total salary   subdepartment   revenue   salary ----------------------------------------------------------------------------------     dollars    $200            $100           r               $140      $30                                                 s               $60       $70       manat      ₼4000           ₼8000          r               ₼1000     ₼7000                                                 s               ₼3000     ₼1000       yen        ¥500            ¥1000          r               ¥100      ¥300                                                 s               ¥200      ¥500                                                           t               ¥200      ¥200  b    dollars    $300            $700           r               $200      $600                                                 s               $100      $100       manat      ₼7000           ₼3000          r               ₼2000     ₼1000                                                 s               ₼3000     ₼1000                                                 t               ₼2000     ₼1000       yen        ¥900            ¥400           r               ¥150      ¥100                                                 s               ¥250      ¥100                                                           t               ¥300      ¥200 

all said, firebladedan makes great point in comments of question. tableau not excel – it's visualization tool, , smokin' 1 @ that. if want show aggregations of measures @ different levels of detail, best option (both in terms of tableau can , clearest way visualize it) going to create dashboard multiple worksheets @ different levels of detail , take advantage of filter actions , other controls see how relates.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -