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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Reimer
Helper II
Helper II

Use Filter in DAX

Hi all,

 

I am having a problem with filter in Power BI

 

I have a dataset called "Procedure - Power BI". In this dataset is a column called "aantal sollicitanten" and a column called "sollicitatie na start".

 

How do I only count the "aantal sollicitanten" if "Sollicitatie na start" is a number below 7?

 

Can anyone help?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Measure = CALCULATE(COUNT('Table'[aantal sollicitanten]),FILTER('Table','Table'[Sollicitatie na start]>7))

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Measure = CALCULATE(COUNT('Table'[aantal sollicitanten]),FILTER('Table','Table'[Sollicitatie na start]>7))

Thank you so much!

 

Just a quick follow-up question. If I just wanted to count the fields with no entry, what would the measure be?

Angith_Nair
Continued Contributor
Continued Contributor

Hi @Reimer ,

With no entry means, that value will be blank. For that try this measure..

Measure =
CALCULATE (
    COUNT ( 'Table'[aantal sollicitanten] ),
    'Table'[Sollicitatie na start] = BLANK ()
)

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Jan NL Carousel

Fabric Community Update - January 2025

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