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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Showing number of items on slicer

The filter pane shows number of items in each category - is there any way (or any custom visual) to be able to show that in a slicer?

 

Currently in a slicer you have e.g.:

Apple

Banana

Pear

Grapes

Melon

 

What I would like to display is e.g.:

Apple (56)

Banana (3)

Pear (13)

Grapes (467)

Melon (1)

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

You can use attribute slicer (Custom Visual) for this purpose as you can see in given screenshort with sample dataset.

 

DatasetDataset

 

AttributeAttribute

 

 

Thanks,

Bhavankit Navadiya.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous,

 

You can use attribute slicer (Custom Visual) for this purpose as you can see in given screenshort with sample dataset.

 

DatasetDataset

 

AttributeAttribute

 

 

Thanks,

Bhavankit Navadiya.

Anonymous
Not applicable

Thanks @Anonymous - that does most of the job (although I wish it was possible to have the numbers without the bar chart!)

v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may use a calculated column.

Column =
Table1[Column1] & " ("
    & COUNTROWS ( FILTER ( Table1, Table1[Column1] = EARLIER ( Table1[Column1] ) ) )
    & ")"
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks @v-chuncz-msft - I want to be able to include it in the slicer itself rather than as a separate column but very useful to know for some other things I am trying. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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