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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
haykp
Helper I
Helper I

Slicer for jumping between databases

Dear Forum,

 

I am freshman in powerbi, please help to implement one slicer to jump between 2 databases.

So I  imported 2 different folders. These folders contain similar files, about my test results.

Now I am able to print all the test-restuls.

But I want to have a some button which would let me to select which folder/database name to plot.

 

So I have 2 folders: ams and uvm:

haykp_0-1681486398274.png

how I can implement slicer to switch between uvm and ams databases?

 

Thanks

Hayk

1 REPLY 1
BA_Pete
Super User
Super User

Hi Hayk,

 

The optimal thing to do would be to add a custom column to each query called 'Source'. In the ams query, the value of this column will just be = "ams". In the uvm query it will be = "uvm".

Append the two queries together in Power Query and disable load for both ams and uvm, but allow the new appended query to load.

In the Data Model, add a slicer that uses the appendedQuery[Source] field to switch between.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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