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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
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.