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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Slicer across multiple datasources

Hello,

I have two datasources one at weekly and other at monthly.

Wanted to use a filter that is common in both the tables as selector that will drive both the tables.

 

Have tried sync slicers option as well as creating relationship with temporary table (with distinct values of field from both tables)

but is not working.

 

Will be really helpful if someone can guide me here.

 

Thanks

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

I create a new "Table", use it in a slicer, i create a measure to show selected value (monthly/weekly).

selection = SWITCH(SELECTEDVALUE('Table'[slicer]),"weekly",SUM('weekly table'[weekly value]),"monthly",SUM('monthly table'[monthly value]))

5.JPGCapture3.JPGCapture4.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

I create a new "Table", use it in a slicer, i create a measure to show selected value (monthly/weekly).

selection = SWITCH(SELECTEDVALUE('Table'[slicer]),"weekly",SUM('weekly table'[weekly value]),"monthly",SUM('monthly table'[monthly value]))

5.JPGCapture3.JPGCapture4.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

remember that weeks and months are not congruent.

I would store the values on the first day of the week and the first day of the month.

The values can then be filtered using a common date table.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


amitchandak
Super User
Super User

@Anonymous 

This week and month are derived from the date. Then You can use the date table to have both week and Month.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors