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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Use Slicer to filter columns

Hi guys,

I have a dataset which looks like this.

I need to filter the years column in table visual

So when i use a slicer the year columns should show in the table visual.

Date Range: (start year - end year)

The year columns should be show in the table

Dataset:

Country2016201720182019
India2151
France436

1

1 ACCEPTED SOLUTION

Hi,

Once you have unpivoted the dataset, create a matrix visual.  Drag Region to the row labels.  Drg Year to the column labels.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I am using unpivot for one of the visual requirement.

But I have to represent this data for the requirement in: region 2016 2017 2018 format

Hi,

Once you have unpivoted the dataset, create a matrix visual.  Drag Region to the row labels.  Drg Year to the column labels.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
HotChilli
Super User
Super User

You can Unpivot the Year columns so that the data looks like:

Country Year Value

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.