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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I am using two data sources in one report, one is an excel file and the other is a sharepoint list. Both data sources are very similar to each other and what I want to do is compare the two data sources using a slicer. Basically I want to be able to choose between showing the common records and different records of the two data sources in my visuals. How do I achieve this?
Any help would be grealy appreciated!
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, I did the test: tableA and tableB are from two data sources, which include the same records as well as different records in both tables. Need to create a separate calculated table as slicer to combine the records from both tables on one column. Create the following two measures to determine if the values filtered by the slicer exist in the table. Refer to the following:
slicer = UNION(DISTINCT(TA_record[TableA_record]),DISTINCT(TB_record[TableB_record]))
M1 =
var sel = SELECTEDVALUE(slicer[slicer_record])
return
IF(MAX(TA_record[TableA_record])=sel,1,0)
If the problem is still not resolved, please point it out. Looking forward to your reply.
Best Regards,
Stephen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, I did the test: tableA and tableB are from two data sources, which include the same records as well as different records in both tables. Need to create a separate calculated table as slicer to combine the records from both tables on one column. Create the following two measures to determine if the values filtered by the slicer exist in the table. Refer to the following:
slicer = UNION(DISTINCT(TA_record[TableA_record]),DISTINCT(TB_record[TableB_record]))
M1 =
var sel = SELECTEDVALUE(slicer[slicer_record])
return
IF(MAX(TA_record[TableA_record])=sel,1,0)
If the problem is still not resolved, please point it out. Looking forward to your reply.
Best Regards,
Stephen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.