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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Ignore Date Slicer on Page

I've got several tables linked together that work perfectly, but now I need a measure that ignores the Date Table but updates when my sales manager selects different sales people in their territory.

 

This is my formula that works for all my customers, but now I need to tack on additional direction that tells it not to change regardless of the data slicer being changed.  So I'll have two numbers on the page telling my sales director the total number of customers his sales person has (the new formula) and the total number during a specific time period (what I have now, listed below).

 

C Count = CALCULATE(DISTINCTCOUNT('All ISPs'[ISP Name]),ALLSELECTED('All ISPs'[ISP Name]))

 

I've tried adding ALLEXCEPT:

 

C Count All Except Date= CALCULATE(DISTINCTCOUNT('All ISPs'[ISP Name]),ALLSELECTED('All ISPs'[ISP Name]),ALLEXCEPT('Distinct Calendar Date','Distinct Calendar Date'[EOM].[Date]))

 

But that has absolutely no bearing on the result.  The Distinct Calendar Date is the date table that I use for the slicer on the page.

 

What am I doing wrong?  Thanks for any help.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I was able to figure out that if I used the Interactions options I could make it work. 

View solution in original post

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

 

Please try this:

C Count All Except Date =
CALCULATE (
    DISTINCTCOUNT ( 'All ISPs'[ISP Name] ),
    ALL ( 'Distinct Calendar Date'[EOM].[Date] )
)

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

It still changed with the date slicer. 

Anonymous
Not applicable

I was able to figure out that if I used the Interactions options I could make it work. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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