+ Reply to Thread
Results 1 to 4 of 4

DAX formula : filtered sales total per month

  1. #1
    Registered User
    Join Date
    07-20-2004
    Posts
    40

    DAX formula : filtered sales total per month

    In powerpivot, I have a pivot table setup of sales orders per customer per month linked to a date table.
    Of 40 customers, I have a slicer that filters per customer and tells me current sales per month of that particular customer.
    If I unfilter the slicer, then the sales per month does correctly show the total sales for that month.
    Total cust sales for per month :
    Months Rev
    5/1/2015 568K
    6/1/2015 718K

    But I would like to click on a certain customer in the slicer and not only tell me the sales but customer sales as a percentage of total sales for that month.
    A cust sales for per month :
    Months Rev RevT %_Rev
    5/1/2015 49K 568K 9%
    6/1/2015 70K 718K 10%

    My problem is when I filter for a certain my pivot table only gives me the following :
    Months Rev
    5/1/2015 49K
    6/1/2015 70K


    I have tried the DAX filter of All(sales[revenue]) but that gives the entire sales for all months.

    Can someone please help me with the RevT DAX formula ?

    If you need any clarification , please let me know.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: DAX formula : filtered sales total per month

    You need to specify the column you want to override the filters for:
    All(sales[revenue],customer_column)
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    07-20-2004
    Posts
    40

    Re: DAX formula : filtered sales total per month

    Thank you. that is it.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: DAX formula : filtered sales total per month

    Glad to help.

    Please don't forget to mark the thread [Solved] using the 'Thread tools' link at the top of the page.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] display total sales at the end of each month from date-wise data
    By Ranjeet2001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-11-2014, 01:20 AM
  2. [SOLVED] Dividing the the total sales per month - Rental business. [Fixed]
    By miss_chloe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2013, 01:16 AM
  3. Dividing the the total sales per month (Rental business)
    By miss_chloe in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-23-2013, 05:33 AM
  4. [SOLVED] Dividing the the total sales per month (Rental business)
    By miss_chloe in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-23-2013, 05:09 AM
  5. Replies: 4
    Last Post: 08-28-2012, 01:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1