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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
shaunguyver
Helper III
Helper III

Count distinct value in column, and filter by date in separate column

I have a table called 'Sales Pipeline' with the following columns: - Resource (format: text) - End (format: date) I want to create a measure that counts the number of distinct values in 'Resource', and then filters to only future dates (ie, after today) in 'End' column. Any ideas? Thanks!
1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @shaunguyver

 

How about placing this measure in a Card visual:

 

 

Measure =
CALCULATE ( DISTINCTCOUNT ( Table1[Resource] ), Table1[End] > TODAY () )

 

View solution in original post

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @shaunguyver

 

How about placing this measure in a Card visual:

 

 

Measure =
CALCULATE ( DISTINCTCOUNT ( Table1[Resource] ), Table1[End] > TODAY () )

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors