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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nzcatala
Frequent Visitor

Changing Column based on Slicer selection

I have summarized data that is broken into categories by date, and I would like to be able to select between the three columns based on a data slicer.

 

For Example:

 

Name Last3Months Last6Months Last9Months

A         1                      2                    3

B         2                      3                    4

 

If the "Last 3 Months" slicer is selected, I'd like to see a visual table in the format of:

 

Name Count

A         1

B         2

 

If the "Last 6 Months" slicer is selected, I'd like to see a visual table in the format of:

 

Name Count

A         2

B         3

 

 

Hopefully that made sense!

 

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @nzcatala,

Based on my test, you could refer to below steps:

Unpivot your row table with these three columns:

1.PNG

Result:

2.PNG

Now you could use the [Attribute] column as filter:

3.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @nzcatala,

Based on my test, you could refer to below steps:

Unpivot your row table with these three columns:

1.PNG

Result:

2.PNG

Now you could use the [Attribute] column as filter:

3.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors