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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jcastr02
Post Prodigy
Post Prodigy

Count only specific rows

Looking for a measure to countrows that ONLY has status  task Status as "Not Started"

 

StatusNameDate
Not StartedJoe Smith1/1/21
Not StartedAnn Taylor2/2/21
CompletedJoseph Johnson3/3/21
Not StartedAriana Jackson4/4/21
1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi, @jcastr02 

You can also try a Measure like the following.

 

StatusNotStarted = COUNTX(FILTER('Table','Table'[Status]="Not Started"),'Table'[Status])

 

The result looks like this:

v-cazheng-msft_0-1616638247039.png

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi, @jcastr02 

You can also try a Measure like the following.

 

StatusNotStarted = COUNTX(FILTER('Table','Table'[Status]="Not Started"),'Table'[Status])

 

The result looks like this:

v-cazheng-msft_0-1616638247039.png

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@jcastr02 , Try a measure like

countrows(filter(Table, Table[Status] ="Not Started"))

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.