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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PshemekFLK
Helper IV
Helper IV

Slicer to switch between 2 fact tables

Hello,

 

I have 2 fact tables - "bookings" and "shipments". In the report I would like to easily switch between the two. The easiest way seem to be appending the two fact tables and changing source column to "bookings/shipments" and make a slicer based on that column.

 

I understand however that appending 2 fact tables is not desired due to significant reduction of calculation speed.

 

Is there a way to create a slicer between 2 fact tables without having to append them?

 

 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

Well, the performance issue you cite may or may not be a factor. Depends, how many total rows?

 

You could definitely do this using the Disconnected Table Trick and a measure that determines which calculation to make depending on the slicer selection. Would need sample data and such to see if it was feasible but yes, in concept you definitely can. In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Greg_Deckler
Community Champion
Community Champion

Another thought, you could do this with buttons and bookmarks instead of a slicer.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try to use Sync Slicers.

See this:

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#sync-and-use-slicer... 

Hope this helps.

 

Best Regards,

Giotto Zhi

Greg_Deckler
Community Champion
Community Champion

Another thought, you could do this with buttons and bookmarks instead of a slicer.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

The appended table would have 1,200 000 rows so quite a lot.

 

I was thinking abut bookmarks but this would mean a lot of tables beneath each other (since I'm already using bookmarks for other switches)

 

Would disconnected table solution work for this model?:

Model.PNG

Thanks

Greg_Deckler
Community Champion
Community Champion

Well, the performance issue you cite may or may not be a factor. Depends, how many total rows?

 

You could definitely do this using the Disconnected Table Trick and a measure that determines which calculation to make depending on the slicer selection. Would need sample data and such to see if it was feasible but yes, in concept you definitely can. In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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!

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
Top Kudoed Authors