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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Show slicer selection as output on dashboards...Help Please!

I have created a PBI report that allows employees to make selections in the dashboard slicers.  Then using Drillthrough, navigate tot he desire dashboard (tab).

 

One of the slicers that can have a profound impact on the underlying dashboards is date.  Two questions:

 

1.  Is there a way that I can show the date range from the slicer as an ouput on a dashboard to which someone drills?

2.  As a follow up, is it possible that I can repesent a summary of all the slicers a user has selected as a summary on the dashboard?

 

For instance, something like this would appear on page: 

  • Customer>Location>Product>Market (Slicer Names)
  • ACME>London>Umbrellas>Atlantic (User Experience)

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

So based on a suggestion from the community I created a measure and used the following statement:

 

IF(NOT(ISFILTERED(Products[Subcategory])),”All”,
IF(COUNTROWS(ALLSELECTED(Products[Subcategory]))>5, “> 5 Subcategories”,
CONCATENATEX(
ALLSELECTED(Products[Subcategory]),
Products[Subcategory],
“, ”
)
)
)

 

It works perfectly, however I am not familiar enough with DAX to string together the results from multuple slicers.

 

All input is welcome.

View solution in original post

3 REPLIES 3
DaveW
Advocate II
Advocate II

I use a card that syncs to the slicer that displays the value selected in the slicer

The only problem is that when there is no selection in the slicer, the card displays the first value from the table, which can be a bit confusing.

It would be good if there was a function to show only selected items and blank when nothing selected in the slicer

cheers!

Anonymous
Not applicable

I've done something similar in my latest report:

 

selected authority = IF (
HASONEVALUE (Inner_Join_Placing_Caresetting[Placing Local Authority]),
SELECTEDVALUE (Inner_Join_Placing_Caresetting[Placing Local Authority]),
"Multiple selections"
)
 
So if one authority is selected in the Placing Local Authority slicer, then show that selected value. But if more than one is seleected, then it fails HASONEVALUE and returns the character string "Multiple Selections" instead. I put this in a card to remind the user which authority is selected. 
 
Next I need to figure out how to show "all authorities selected" if all slicer selections or select all are selected by the user.
Anonymous
Not applicable

So based on a suggestion from the community I created a measure and used the following statement:

 

IF(NOT(ISFILTERED(Products[Subcategory])),”All”,
IF(COUNTROWS(ALLSELECTED(Products[Subcategory]))>5, “> 5 Subcategories”,
CONCATENATEX(
ALLSELECTED(Products[Subcategory]),
Products[Subcategory],
“, ”
)
)
)

 

It works perfectly, however I am not familiar enough with DAX to string together the results from multuple slicers.

 

All input is welcome.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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