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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.