Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Measure needed using a date field
06-22-2023
02:38 PM
Hello,
I have a date field that contains dates and "0". I need to create a measure that will count the dates but exclude the "0".
Any help would be appriciated and thanks in advance!!
Here is a sample of my date field for reference. So the total count should 6.
QORDT |
20220101 |
20230515 |
0 |
0 |
20210822 |
20230516 |
20230518 |
20210510 |
0 |
Regards,
Bill
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
02:52 PM

Write a measure like this:
Date Count =
CALCULATE(COUNT('NameOfYourTable'[QORDT]), 'NameOfYourTable'[QORDT]) <> 0)
Did I answer your question? Give your kudos and mark my post as a solution!
Proud to be a Super User!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
02:52 PM

Write a measure like this:
Date Count =
CALCULATE(COUNT('NameOfYourTable'[QORDT]), 'NameOfYourTable'[QORDT]) <> 0)
Did I answer your question? Give your kudos and mark my post as a solution!
Proud to be a Super User!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023
03:27 PM

Hi Ray,
The measure worked great! Thanks very much for the quick reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023
11:30 AM

Glad it worked! Kindly mark it as solved for any future reference 🙂
Did I answer your question? Give your kudos and mark my post as a solution!
Proud to be a Super User!

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
07-15-2024 03:58 PM | |||
08-02-2024 08:59 AM | |||
08-13-2024 03:40 PM | |||
11-17-2023 04:06 PM | |||
11-18-2022 07:34 AM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
141 | |
115 | |
82 | |
63 | |
48 |