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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
gustavobinnie
Regular Visitor

Combine 2 datasets into chart without prior join.

I have two datasets and I want to select one row from dataset 1 dynamically (from a slicer) and join with the dataset 2 and put both series into a chart and highlight the data from dataset 1. Imagine you have in dataset 1 the list of current cars with hp and price in one dataset and in another dataset I have all past cars with hp and price. I want to select one car from dataset 1 and see in a scatter chart with all data from dataset 2. How would you implement this in Power BI?

3 REPLIES 3
gustavobinnie
Regular Visitor

But how would do this cross join into a new table that can change depending on the slicer? So the cross join only gets one row from dataset 1 and all rows from dataset 2.

Ah, so you want to append, not join. Use UNION.

lbendlin
Super User
Super User

You are building a cross join, You need to add a measure to the values area to make that work.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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