Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

How to have one slicer across 2 datasets

Hi All 

I have created a report , please see the attached image. The blue and yellow score cards come from two different datasets. Now i want to add a third column called (difference) showing difference between the two columns. Is this possible? Can someone please advice?




Community Support
Community Support

Hi @beaconfbb,


Is there a unique value, such as a date or a category between the two tables?

Could you provide sample data? I can not sure your data structure according to the screenshot.


Best Regards,


Super User
Super User

@beaconfbb are the dates for both the Yellow and Red Card different or a common date would work ?


Also is every card having a different measure ?

Super User
Super User

Hi @beaconfbb 

By two datasets are you referring to two different data sources or tables. If Yes , then you add a third source/table , create a common dimension table and then use that dimension table to create a slicer.

Thanks jaideepnema,

I guess you did not get my ask. All the columns in BLUE come from TABLE A including the DATE from the slicer.  All the columns in YELLOW come from TABLE B including the DATE from the slicer. What i am asking is if i create NEW label named DIFFERENCE the values must reflect the difference between the BLUE and YELLOW values, for example the sales difference must be  (4,491,210.53-4,694,959.10)=-203,748.57).

Hope i was clear this time around.


Helpful resources

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors