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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
kellywr
Frequent Visitor

Basic question: Want my slicer to display more values than are used in the data table?

Hi, I have what is probably a very simple question.  I have a list of values:

 

Activity Types

Running

Jumping
Swimming
Biking
Skipping

 

And a data table of people doing the activities:

 

NameActivity Type
JohnRunning
SamanthaRunning
KevinSwimming
MaryJumping

 

As you can see, not all values of my Activity Types are used in my data table (Biking and Skipping don't appear in my data table).  I want a slicer that contains ALL the options from the Activity Types table, not just the ones appearing in the data table.  This is for various reasons mainly concerned with UX.  How do I do this?

 

Thank you for any help!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@kellywr Use the Activity Types table or create it using an Enter Data query. Ensure that there is a single direction relationship between that table and the data table. Activity Types table (1) -> (*) Data table.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
kellywr
Frequent Visitor

Thank you!!  My relationship was wrong.  That works now!!

audreygerred
Super User
Super User

Hello! Do you have a table added that has all of the activity types? If not, add that, then join it to your data table. In your slicer, grab activity type from the activity type table. It will show all of the values regardless if there is a match or not.

 

Here is an example - Test is not an actual category that is in my fact table, but since the field in the slicer is coming from the dimension table, all options are available.

audreygerred_0-1723052530596.png

If I select test, the visual below it with count just blanks out:

audreygerred_1-1723052566881.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Greg_Deckler
Community Champion
Community Champion

@kellywr Use the Activity Types table or create it using an Enter Data query. Ensure that there is a single direction relationship between that table and the data table. Activity Types table (1) -> (*) Data table.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors