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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Measure to ignore filters

Hey,
I have an issue with the measure. I want to display it in a card visual at the top of my report, it has to be all time which means not affected by 'Dates' filters or slicers.

 

CALCULATE(
	[Potential Patients],
	REMOVEFILTERS('Dates'),
	FILTER( 'Patient Sales Deals', NOT ISBLANK( 'Patient Sales Deals'[Won Date] ) )
)

 

In the "filters on this page" I need to add 'Dates'[Date] filter to restrict my other visuals on the report but unfortunately whenever I change the date period in the filter my initial visual gets affected and the values change.

How to fix it? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please try:

Measure = 
CALCULATE(
	[Potential Patients],
	ALL('Dates'),
	NOT ISBLANK( 'Patient Sales Deals'[Won Date] )
)

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

6 REPLIES 6
Idrissshatila
Super User
Super User

@Anonymous ,

 

try using this

CALCULATE(
	[Potential Patients],
	ALL('Dates'),
	FILTER( 'Patient Sales Deals', NOT ISBLANK( 'Patient Sales Deals'[Won Date] ) )
)


Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

Hey,
I have tried it but it is still not working.

Anonymous
Not applicable

Hi @Anonymous ,

Please try:

Measure = 
CALCULATE(
	[Potential Patients],
	ALL('Dates'),
	NOT ISBLANK( 'Patient Sales Deals'[Won Date] )
)

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Anonymous
Not applicable

That worked, thanks!

Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

can you attach your pbix file so we could check it ?



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

Unfortuantely not as it contains business data, but I will be glad to provide any necessary info if needed.

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.