+ Reply to Thread
Results 1 to 1 of 1

Add measure Group By NIF values which are not "N/A"

  1. #1
    Registered User
    Join Date
    01-08-2021
    Location
    Spain
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    12

    Add measure Group By NIF values which are not "N/A"

    Good afternoon,

    I'm doing a power pivot with data of a datatable of drivers, columns are "company, department, driver id number, and document A".

    What I'm trying to achieve is to create a measure grouping by idNumber (cause same driver can be in different departments), and count how many of them have anything on that "document A" column but "N/A" (accepted, rejected etc).

    =COUNTX (
    ADDCOLUMNS (
    DISTINCT ( SummaryData_DataTable2[Driver ID Number]);
    "CountPerDriver"; CALCULATE ( DISTINCTCOUNT ( SummaryData_DataTable2[Document A])
    ;FILTER(SummaryData_DataTable2;SummaryData_DataTable2[Document A] <> "N/A") )
    );
    [CountPerDriver]
    )

    It didn't work btw, I'm pretty noob, just tried things I saw but any of them are exactly what I'm looking for.

    Thank you for your time!
    Last edited by montgai; 05-11-2021 at 04:59 AM.

+ 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. Replies: 2
    Last Post: 01-01-2020, 04:03 PM
  2. [SOLVED] Brief formula to convert time values to "shift1", "shift2", "shift3".
    By darekpawel in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 04-11-2019, 07:05 AM
  3. Replies: 1
    Last Post: 08-10-2014, 01:22 PM
  4. Replies: 1
    Last Post: 01-15-2014, 08:53 AM
  5. Macro to extract data into different tabs for each values in column D "Group"
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-26-2012, 03:30 PM
  6. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  7. Replies: 0
    Last Post: 02-01-2006, 03:35 AM

Tags for this Thread

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