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
perfectreign
Frequent Visitor

How to Add a Slicer to a Report?

I'm building my first visualization in PowerBI. It will be a dashboard showing the status of various locations. We have contract staff who are assigned to the locations and we need to see at a glance if any location has less than the required staff, and possibly how much less.  

 

I can get the report working the way I want, but want to be able to select the critiera for the report. In this instance, I work for an election administration department. I want to be able to select which election to view.  That way I idon't have to update the report for each election.  

 

I've looked up slicers but can't seem to figure out how to get one on the report. I have teh data for the current election but want a slicer so that I can choose a different one.  How do I do this?

 

Here's a sample. You can see the report has the data. At the top, I've dummied up a slicer with the election selection I want.  How would I get the slicer to show the information then pass it to the query?

 

powerbi_selection.jpg

2 REPLIES 2
christinepayton
Super User
Super User

Do you have data for other elections? The slicer just uses columns of data from your report, so you need to have the column in your dataset in order to use it on a slicer. 

Thank you! That's kind of what I was thinking.  Now - in this case, it may be a different query.  Let me check how to put two queries into one report. (I wish this was a SQL Server backend but it is an Amazon one, so don't have stored procedures.)

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.