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
Countrows exclude some value
03-14-2024
05:50 AM
Hi,
I'm looking for a solution to count rows but I need to exclude some data.
Now i have the following measure:
Count =
CALCULATE(COUNTROWS(Logdata),
Logdata[EventType] = 0)
But I need to exclude to column logdata.Datafield2 with the value "9999".
Any sugestions?
Greets, Jeffrey
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024
06:06 AM
Hi @Jeffrey_VC
try v2 below
Count _v2=
CALCULATE(COUNTROWS(Logdata),
Logdata[Datafield2] <>"9999",
Logdata[Datafield2] <>"9999",
Logdata[EventType] = 0)
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024
06:06 AM
Hi @Jeffrey_VC
try v2 below
Count _v2=
CALCULATE(COUNTROWS(Logdata),
Logdata[Datafield2] <>"9999",
Logdata[Datafield2] <>"9999",
Logdata[EventType] = 0)
Did I answer your question? 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

Helpful resources
Announcements
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Recommendations
Subject | Author | Posted | |
---|---|---|---|
08-26-2024 07:32 AM | |||
07-22-2024 01:50 PM | |||
Anonymous
| 09-12-2024 03:37 AM | ||
06-26-2024 06:07 PM | |||
08-19-2023 09:40 AM |
Top Solution Authors (Last Month)
User | Count |
---|---|
22 | |
12 | |
10 | |
9 | |
8 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
16 | |
15 | |
15 | |
12 | |
10 |