Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
AMBP1973
Helper II
Helper II

Dax to countrows in one column, but rows based on value on another column

axHello Everyone,

 

I am looking to count rows of a column named 'Title', where the values are title of documents, but exclude those rows that has values of 'superseded' in the 'Document/process update' column in the same table? I would appreciate any assitance with a dax measure for this.  Thanks in advance

Example of table 

TitleDocument Process Update 
Manual - Root Cause analysis guide 
Procedure - System ReviewsSuperseded
1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @AMBP1973 ,

 

try this:

 

measure = Calculate( countrows(TableName),'TableName' [Document Process Update] <> "Superseded"))

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
AMBP1973
Helper II
Helper II

Perfect! Thankyou for your prompt response 🙂

Idrissshatila
Super User
Super User

Hello @AMBP1973 ,

 

try this:

 

measure = Calculate( countrows(TableName),'TableName' [Document Process Update] <> "Superseded"))

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.