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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
iGWizard
Frequent Visitor

Need to create slicer to switch between 2 similar data sets

Hi,

I've built 2 separate power bi sales validation reports. One is for Units, the other is for Value.

Each report imports the .csv files automatically and then carries out identical processing steps on each.

The columns are identical in both files. I just seen the data to be dynamic depending on slicer selection.

 

I want to combine these reports and have a slicer option to flick between Units & Values, pulling in the data depending on the filter selection to the matrix.

 

How can I make this possible? Surely its fairly straight forward as I have both reports built separately and functioning as expected.

 

Thanks

3 REPLIES 3
audreygerred
Super User
Super User

Hello! If you have a measure for Units and a measure for Valu already, you can create a field parameter and  add these two measures (and any others you may want). Once you have the field parameter created, you will add it to a slicer and you will add it to the values section of your visual. The example in this documentation uses dimension fields, but you can use measures: Use report readers to change visuals (preview) - Power BI | Microsoft Learn





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi, thanks for the response 🙂

 

Currently each data set is stored as a table. No measures currently set up. I presume I need to create measures which reference each of the tables and then create a parameter with each of these?

 

Thanks

Yup! You got it!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.