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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Visual should not filter after date selection from Slicer

Hi,

 

Is it possible to just  pass values from slicer to calculated column but the visual should not filter for date selected in slicer.

 

For eg: Below is the visual I got after passing values from date slicer to my calculated column and it filters for that quarter as well

varshakrishna08_0-1632707819328.png

Age of Pending Claims:

Age of Pending Claims = IF(TrusteeClaimsList_Received[LeadLagReceivedDate] <> BLANK()
&& ISBLANK(TrusteeClaimsList_Received[LeadLagDecisionEndDate]),
DATEDIFF(TrusteeClaimsList_Received[LeadLagReceivedDate],[End of Quarter],DAY),BLANK())
 
End of Quarter is end of quarter from date slicer selected by user
End of Quarter = 
VAR __Date = SELECTEDVALUE('Date Table'[Date])
VAR __Month = MONTH(__Date)
VAR __Year = YEAR(__Date)
RETURN
SWITCH(TRUE(),
__Month <= 3,DATE(__Year,3,31),
__Month <= 6,DATE(__Year,6,30),
__Month <= 9,DATE(__Year,9,30),
DATE(__Year,12,31)
)

 

Now, I get incorrect results because according to my requirement it should only take values from slicer and should not filter the visual for that quarter

 

I need to get below results, this is based on start of quarter date = 1/7/2021 and end of quarter date = 30/9/2021 but visual is not filtering for that quarter

varshakrishna08_1-1632708049941.png

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I got the solution for this, Its just use RemoveFilters function:

 

Undetermined End of Period1 =
var EOQ =
SELECTEDVALUE('Date Table'[End of Quarter])

var UEP = CALCULATE(COUNT(TrusteeClaimsList_Received[PolicyCaseBenefitKey]),
REMOVEFILTERS('Date Table'[Quarter & Year]),
TrusteeClaimsList_Received[LeadLagReceivedDate] <> BLANK(),
TrusteeClaimsList_Received[LeadLagReceivedDate] < EOQ,
ISBLANK(TrusteeClaimsList_Received[LeadLagDecisionEndDate])

)
return UEP

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

I got the solution for this, Its just use RemoveFilters function:

 

Undetermined End of Period1 =
var EOQ =
SELECTEDVALUE('Date Table'[End of Quarter])

var UEP = CALCULATE(COUNT(TrusteeClaimsList_Received[PolicyCaseBenefitKey]),
REMOVEFILTERS('Date Table'[Quarter & Year]),
TrusteeClaimsList_Received[LeadLagReceivedDate] <> BLANK(),
TrusteeClaimsList_Received[LeadLagReceivedDate] < EOQ,
ISBLANK(TrusteeClaimsList_Received[LeadLagDecisionEndDate])

)
return UEP
Ashish_Mathur
Super User
Super User

Hi,

If you do not want the slicer to filter the visual, you should turn off the interaction.  A slicer selection can be used in a calculated column but a change in the slicer will not reflect in the calculated column formula uness you manually click on Refresh.


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

Hi,

 

I tried to Turn off interaction. But it is giving me incorrect result.

Average Age of Pending Clims should show below:

varshakrishna08_0-1632712273261.png

 

But is shows 

varshakrishna08_1-1632712309969.png

 

Age of Pending cliams is a claculated column which takes slicer selection and calculates

It should only take slicer selection and calculate but Visual should not filter for quarter

 

 

Hi,

I cannot understnd anything from the images that you posted.  Share the download link of the PBI file and show the expected result very clearly.


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

Hi,

 

So, when a user selects Q3 then my measure should take max value/End of Quarter and give me the output as it is without filter between the quarter.

Below, When user selects Q3 my measure should take max value from Q3(i.e, 30/9/2021) and calculate measure and return me result TILL q3 and not between Q3 

varshakrishna08_0-1632947320671.png

UEP =
var EOQ = SELECTEDVALUE('Date Table'[End of Quarter])

var UEP = CALCULATE(COUNT(TrusteeClaimsList_Received[PolicyCaseBenefitKey]),
FILTER(TrusteeClaimsList_Received,TrusteeClaimsList_Received[LeadLagReceivedDate] <> BLANK()),
FILTER(TrusteeClaimsList_Received,TrusteeClaimsList_Received[LeadLagReceivedDate] < EOQ),
FILTER(TrusteeClaimsList_Received,ISBLANK(TrusteeClaimsList_Received[LeadLagDecisionEndDate]))
)

return UEP

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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