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
Top Kudoed Authors (Last Month)
User | Count |
---|---|
29 | |
16 | |
14 | |
13 | |
13 |