+ Reply to Thread
Results 1 to 4 of 4

PowerPivot/Dax CALCULATE question

  1. #1
    Registered User
    Join Date
    06-03-2016
    Location
    Seattle
    MS-Off Ver
    2013
    Posts
    9

    PowerPivot/Dax CALCULATE question

    Hello all,

    I am somewhat familiar with the DAX functions and expressions in PowerPivot. But I have ran into an issue I can't seem to solve. I would like to sum up the values in Column 2 (number values) only when a value in Column 3 (text values) contains a specific word.

    I assume I need to combine the function CALCULATE with some type of filter that would allow me to state that. Would the best approach be combining the CALCULATE function with CONTAINS function? Although I seem to be having some problems with that. Or should it be something else?

    -Thank you

  2. #2
    Registered User
    Join Date
    06-03-2016
    Location
    Seattle
    MS-Off Ver
    2013
    Posts
    9

    Re: PowerPivot/Dax CALCULATE question

    Bumping in hopes someone has a solution.

  3. #3
    Registered User
    Join Date
    06-11-2016
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    4

    Re: PowerPivot/Dax CALCULATE question

    Bumping for visibility

  4. #4
    Registered User
    Join Date
    06-03-2016
    Location
    Seattle
    MS-Off Ver
    2013
    Posts
    9

    Re: PowerPivot/Dax CALCULATE question

    I was able to figure it out. For anyone else who has this problem, or is just generally interested, here is the formula that worked for me:

    CALCULATE(SUM(Sheet1[column1]),SEARCH( "text", Sheet1[column2], 1, 0 ) > 0).

+ 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] implicit vs. explicit in powerpivot and the calculate function
    By stephme55 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-05-2016, 03:28 PM
  2. Powerview / Powerpivot: calculate marketshare
    By tjerkdb in forum Excel General
    Replies: 1
    Last Post: 06-17-2015, 10:48 AM
  3. How to calculate discount in PowerPivot??
    By mrxlsx in forum Excel General
    Replies: 1
    Last Post: 06-13-2015, 12:16 AM
  4. PowerPivot - how to calculate next month's value?
    By illusionek in forum Excel General
    Replies: 9
    Last Post: 01-28-2015, 09:58 AM
  5. Replies: 0
    Last Post: 11-20-2012, 05:34 AM
  6. Replies: 1
    Last Post: 04-29-2011, 06:16 AM
  7. Powerpivot question
    By anamalha in forum Excel General
    Replies: 0
    Last Post: 11-22-2010, 01:33 PM

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