• Skip to main content
  • Skip to footer

Curbal

Learn how to grow your business with your data and Power BI

  • Resources
    • DAX Glossary
    • Download Center
    • Template Apps
    • Data Stories Gallery
    • Solution Gallery
    • Learning Resources
  • Courses
    • Introduction to Power BI – FREE Online course
    • Power Query Online Training for Power BI
    • M Language Online Course: The unofficial and Practical Reference Guide
  • Blog
  • Shop
    • Courses
    • Swag
    • Template Apps
    • Donations
  • Cart
  • Register/ Log In
    • Become a Member
    • Log In
    • My account
    • My Courses
  • Contact
You are here: Home / CM Tooltip Glossary Pro+ / DISTINCTCOUNT

DISTINCTCOUNT

posted on August 14, 2017

« Back to Glossary Index

Syntax

DISTINCTCOUNT(<column>)

Tutorial with example

In this tutorial we go through all the count functions. Below you can see the keynotes of the tutorial, so you can jump ahead to the one you need:

02:44 COUNT text (#ERROR), 03:24 COUNT numbers, 04:20 COUNT blanks, 04:56 COUNT dates
05:36 COUNTA text, 06:44 COUNTA numbers
07:27 COUNTX
09:16 COUNTAX
09:58 DISTINCTCOUNT
10:59 COUNTROWS(DISTINCT)
12:06 COUNTBLANK
12:34 COUNTROWS, 13:32 COUNTROWS with columns (#ERROR), 14:33 COUNTROWS with an expressionion

Download example file:

Download the sample file here.

Remarks

The only argument allowed to this function is a column. You can use columns containing any type of data. When the function finds no rows to count, it returns a BLANK, otherwise it returns the count of distinct values.

Was this helpful?
[Total: 0   Average: 0/5]
See Also:
  • COUNT
  • COUNTA
  • COUNTAX
  • COUNTBLANK
  • COUNTROWS
« Back to Index

Reader Interactions

Comments

  1. BIMAN

    November 12, 2018 at 12:06 am

    IT is impossible to download these files. It is possible to do it in other link?

    Reply
    • Ruth Pozuelo Martinez

      November 12, 2018 at 12:10 am

      Yes, in the download center.
      https://curbal.com/donwload-center
      /Ruth

      Reply

Let us know your thoughts... Cancel reply

Footer CTA

Join our community of +20,000 professionals

Become a Member

Subscribe to YouTube

About us

Curbal AB
Kopparbergsvägen, 10
722 13 – Västerås
Sweden

OrgNo: 5569680852 | VAT: SE556968085201

 

Location:

© Copyright 2014-2021 · Curbal AB · All Rights Reserved · Privacy Policy · Terms of Service · Refund Policy · Log In