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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Dominik82
Frequent Visitor

Filter multiple columns with single dropdown slicer (without hierarchy)

Hi there,

 

is there a possibility to create a single slicer with a dropdown selection, which contains values from different columns?

Example table with the values

Dominik82_0-1680687435893.png

In my report I want to have a slicer with the values from the three columns "Warranty", "Data" and "Date".

 

 

Thanks for your help 🙂

Dominik

 

4 REPLIES 4
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi 

 

you could duplicate the table in power query, unpivot the columns in the duplicate table:

 

DOLEARY85_0-1680689916274.png

Join the 2 tables in model view, crossfilter both directions:

 

DOLEARY85_1-1680689973339.png

 

Then add a slicer using the value field from the unpivoted table:

 

DOLEARY85_2-1680690029628.png

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍


Hi @Greg_Deckler , Hi @DOLEARY85 

Thanks for your first help, but in my mind this will not help in my case.

From your help I see, that there was a missing information from my side (sorry!).

The columns in my example are calculated with a formular depending on other data in my table.

So I can't duplicate this table as this formular will be lost (or I have to enter them twice).

 

Maybe there's another possibility to filter the table on different columns with only one slicer visual?

Greg_Deckler
Super User
Super User

@Dominik82 Well, one, you could unpivot those columns in Power Query. Two, you could create a disconnected table for your slicer like below and use a measure that takes it into account.

Slicer Table =
  VAR __One = DISTINCT(SELECTCOLUMNS('Table'[Warranty]))
  VAR __Two = DISTINCT(SELECTCOLUMNS('Table'[Data])
  VAR __Three = DISTINCT(SELECTCOLUMNS('Table'[Date]))
  VAR __Result = UNION( __One, __Two, __Three )
RETURN
  __Result


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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

SELECTCOLUMNS requires 2 arguments.  This does not work. =/

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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