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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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 Kudoed Authors