distinctcount

  1. A

    Calculate the average of a distinct count measure

    Hi, Can someone please help me with the syntax to find the average of a measure using DISTINCTCOUNT. Here is the syntax of my measure: Number of Units = DISTINCTCOUNT( LoggedInData[Unit_ID] ) I was hoping I could just do something like this: Avg Number of Units =...
  2. M

    DistinctCount, Averaging trouble

    Hello, I am attempting to use the DistinctCount expression to determine the number of properties (Serial Numbers in the attached spreadsheet) that are contributing to an aggregated column. The properties all start on day 1 but turn off at different times, therefore leaving the aggregated column...
  3. E

    DAX DISTINCTCOUNT on a related table

    Hi, I have a TMOV table containing DATE and PRODUCT columns, among other columns, that is related with a TDATE table containing DATE and YEAR_MONTH columns. I would like to populate an additional column in the TMOV table with DISTINCTCOUNT of YEAR_MONTHS by PRODUCT, i.e. number of months that...
  4. R

    Count number of cities in state

    I have a table that lists States and Cities. I need a measure that counts how many distinct cities exist for each state. As an example. Say there are 500 cities in CA and 10 Cities in NV. My result should look like Los Angeles 500 San Diego 500 Las Vegas 10 Reno 10...
  5. J

    How get Distinct Count

    Hi All, I have excel 2010 and have power pivot installed. I'm trying to get the distinct count of the product code per group but not able to. When I try distinctcount I get the error This is not a valid DAX expression. Not sure if distinctcount is available with the powerpivot for excel 2010...
  6. L

    Distinctcount if sales 0

    Hi, I have a fact table with CustomerNo, DateKey, ProductKey, SupplierKey, Sales. This is related to a Calendar table, Product, and Supplier Table. I'm trying to calculate a distinct count of customer where the sales = 0 in a specific year and keeping the original filter conditions on related...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top