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
Daniel_PowerBI
Advocate I
Advocate I

Display selected year and prior year from slicer with Years as COLUMNS

Hi community,

 

Having a little trouble getting the data from the selected Year and prior Year in the slicer.

 

What i want to do is have a Single select slicer with the year and show the selected year and the prior year in a matrix below (ie: when 2012 is selected 2011 should also show up in the matrix)

Daniel_PowerBI_0-1702735934134.png

(Picture is using AdventureWorks DB)

 

I got it working when the Years are in the rows but doesnt seem to work when i switch them to Columns which is what the client wants.

Daniel_PowerBI_1-1702736059287.png

 

Any ideas or comments are more than welcome,

Thank you

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User
2 REPLIES 2
Ahmedx
Super User
Super User

Indeed, thats exactly what i was looking for!

Thank you very much

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors