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
Anonymous
Not applicable

Slicer

Hi everyone!

 

I have a data set about the number of residents from 0 to 10 years for several areas and years. The data set has information per age, so for the age 0, 1, 2, ... 10. I have combined these numbers, because I wanted to minimize the table. That is why I want to create a slicer for age, so that you select the age(s) yourself. However, I don't know how to do this. Can anyone help me?

 

0 tm 10 per leeftijd.png0-10.png

1 ACCEPTED SOLUTION
Gopal30
Helper I
Helper I

Ok , instead of combining all the columns you can unpivot the columns 0 to 10 in Query editor which will reduce the number of columns to one with all the ages in a single columns with multiple rows. ans.PNG

 

So once you have Ages and values as column you can select them as Slicer. 

 

If that's what you are looking for. 

View solution in original post

2 REPLIES 2
Gopal30
Helper I
Helper I

Ok , instead of combining all the columns you can unpivot the columns 0 to 10 in Query editor which will reduce the number of columns to one with all the ages in a single columns with multiple rows. ans.PNG

 

So once you have Ages and values as column you can select them as Slicer. 

 

If that's what you are looking for. 

Anonymous
Not applicable

Hi @Gopal30 ,

 

Thank you!

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