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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Shelley
Continued Contributor
Continued Contributor

How to ignore some Slicers in a tooltip, but not all

Hi All,

I have a Power BI report for which I'd like to add a tooltip. On the report, there are slicers like the following:

Customer

Region

Fiscal Year

 

I want a tooltip that keeps all the slicers, except Fiscal Year because I want to show historical order counts even though the user is looking at current YTD. I always have a problem understanding ALL and ALLSELECTED and ALLEXCEPT. Can anyone please help me with the DAX to count orders, while ignoring Fiscal year selected in the slicer? Here is the formula to start with.

 

Total Order Count = DISTINCTCOUNT([Order])

 

1 ACCEPTED SOLUTION

@Shelley on the tooltip page, add a column on the drill down on which you want to this tooltip page to get filtered, (of course, don't add the fiscal year) and then check, make sure to keep all filters is off.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

4 REPLIES 4
parry2k
Super User
Super User

@Shelley if you want to ignore the filter, just use the following measure

 

Measure = CALCULATE ( <your measure expression>, ALL ( Table[Fiscal Year] ) )

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Shelley
Continued Contributor
Continued Contributor

@parry2k This is what I want to show in the tooltip. There are slicers on customer, months, and fiscal year, and users are looking only at one year in the report page, but for the tooltip, I want to show current and prior year - so it would ignore the one fiscal year selected in the slicer, but still show the data by year in the tooltip. Is there a way to do this with DAX?

Annotation 2020-07-28 102347.png

I drew this by taking all the slicers - except fiscal year - and copying them to the tooltip page. I synced them, and then I hid them behind other elements. So, they are all hidden on this page. Seems like a hack job though. Is there any way to accomplish this with DAX? 

@Shelley on the tooltip page, add a column on the drill down on which you want to this tooltip page to get filtered, (of course, don't add the fiscal year) and then check, make sure to keep all filters is off.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Shelley
Continued Contributor
Continued Contributor

@parry2k Thanks for the help! I tried this and it still doesn't work. What could I be doing wrong? I don't understand why the visual still shows 2020 only.

 

Total Order Count NEW for Tooltip =
CALCULATE(DISTINCTCOUNT([Order]), ALL('Daily_Calendar'[Fiscal_Year]))
 
Annotation 2020-07-28 102347.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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