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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jesusssss
Helper II
Helper II

How to make a count function to search for data without taking the date into account.

Hello good day.
I am trying to make a formula to be able to get a specific value from a conditional column that I have created.

I am using this expression "COUNTAX(FILTER('Incidencias generales calidad 7','Incidencias generales calidad 7'[Custom]="1"),[Measure 5])"
what happens is that when I filter by months I realize that only half of the data is
taking me and the other half is left as blank

jesusssss_0-1673259203711.png

jesusssss_1-1673259222238.png

 

 


And reviewing the data I have seen that the data that is left as blank
is because the date column is duplicate because that operation was closed on the same day. I would like to know if there is any work so that when searching for data using a filter, it does not take the date column
into account or does not mark the repeated date data as blanks.

Thanks.

 

1 ACCEPTED SOLUTION

Thank you very much for the answer, in the end I managed to solve the error and the problem is that the
table was duplicated several times and that was causing failures in the measurements

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @jesusssss ,

 

If you want to remove the filtering of dates, try to use the REMOVEFILTERS function.

For example,

Measure = CALCULATE(SUM(Locations[Amount]),REMOVEFILTERS('Locations'[LocationName]))

vstephenmsft_0-1673513290317.png

vstephenmsft_1-1673513297237.png

 

Best Regards,

Stephen Tao

 

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

Thank you very much for the answer, in the end I managed to solve the error and the problem is that the
table was duplicated several times and that was causing failures in the measurements
amitchandak
Super User
Super User

@jesusssss , You should create this as measure not column

COUNTAX(FILTER('Incidencias generales calidad 7','Incidencias generales calidad 7'[Custom]="1"),[Measure 5])

 

Column will not consider slicer value

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you very much for the answer, in the end I managed to solve the error and the problem is that the table
was duplicated several times and that was causing failures in the measurements

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.