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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to use 1 slicer to filter 2 line charts from different data sources

Hello, Im new to power Bi and currently im working with 2 data sets; one contains the daily positive cases and the other the negative cases for covid. They both are in 2 separated tables (i imported them from 2 dif csv files)

 

I have 2 line charts connected to their respective fields (positive and negative) I want to use a single "Country" slicer to filter the 2 line charts, but when I select the country field in the slicer to work with both datasets i get the following error... is there any suggestions on how to solve this?

 

jeanbook_0-1648407159381.png

 

thanks in advance!

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Create a common country, date tables and use these data across common dimensions 

Bridge Table: https://www.youtube.com/watch?v=Bkf35Roman8&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=19

 

Country Dim

distinct(union(distinct(Table1[Country]),distinct(Table2[Country ])))

 

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors