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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
nmeliasp
Regular Visitor

Calculate Number of rows with non blank dates

Hello I have a table similar to the table below. I am trying to create a measure that calculates the rows that have completions dates for the West Area. 

 

ItemAreaCompletion Date
XXWest5/21/2019
YYWest 
ZZSouth5/22/2019

 

I would like this measure to return 1 in this simple example

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@nmeliasp ,

 

Do you want to calculate the row number of West Area which has Completion Date? You can also create a measure and drag the measure to the card visual:

Result = COUNTX(FILTER(Table1, Table1[Completion Date] <> BLANK() && Table1[Area] = "West"), Table1[Item])

Capture.PNG 

 

Community Support Team _ Jimmy Tao

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-yuta-msft
Community Support
Community Support

@nmeliasp ,

 

Do you want to calculate the row number of West Area which has Completion Date? You can also create a measure and drag the measure to the card visual:

Result = COUNTX(FILTER(Table1, Table1[Completion Date] <> BLANK() && Table1[Area] = "West"), Table1[Item])

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

Drag Area to the Row labels and write this measure

=COUNT(Data[Completion Date])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.