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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Data Modelling question

Hi,

 

I might need some insight on how to model the next analysis.
I have two tables: "Reservations" and "Dealers"
Each table has Latitude and Longitude coordinates and I would like to plot both tables on a map visual.

Since the Reservations table has quite alot of rows I would like to be able to filter this table on date, but without losing the Dealers data (this table doesn't have a date column)

 

What I got so far:

I made a reference (helper) table of "Reservations" and "Dealers" and selected only the columns which I needed. (Code, Latitude, Longitude and Index) + a custom column which indicates which Type of record it is (either Reservation or Dealer)
I appended both tables to a new table called "ReservationDealerCombo"

KevinParijs_0-1612866812709.png

With this new table I have created a relationship with the actual tables "Reservations" and "Dealers" (not the reference tables)
Relationships look like this:

KevinParijs_1-1612866995214.png

This is the result:

KevinParijs_2-1612867078946.png

As you can see the coordinates are plotted correctly, but due to the large amount of "Reservation" data I bearly see the "Dealer" circles. (and I have the impression that if there are too much coordinates to plot he doesn't show certain points, can anyone confirm this?)
So I though, let me filter the reservations by selecting a year & month, but as soon as I do that the "Dealer" type dissapears.
(Left: filter on 2021 and February || Right: an overview of where the dealers are (in a seperate tab )

KevinParijs_3-1612867239530.pngKevinParijs_4-1612867253610.png

 

Is there a way where I can still plot both while selecting a year/month value for the reservations?

 

Kind Regards,

 

Kevin

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous,

Can please share some dummy data with a similar data structure with expected results to test?

How to Get Your Question Answered Quickly

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi, 
Thanks for answering thus far.
Here is a view of what the data looks like.

DealerReservation
Screenshot_2.pngScreenshot_3.png


As mentioned in my first post, I have to plot this data on a map visual.
The part with which I'm struggling is when the user would select a Year.
Only reservations have a date column and dealers don't, if your user would select a year this would filter out the Dealer data and this is not what I would like to achieve.

I would like to show the dealers always and based on the selection on date it need filter out the reservations.
In Power BI I have already combined the 2 tables, but I can't figure out how I can write a measure which does this.

Below are the results that I expect.
I have achieved this by creating 2 different measure (for the left table visual), but since map visuals don't allow 2 series, I need to solve this in 1 single measure.

Screenshot_4.png

Screenshot_5.png

 

KR,

Kevin

lbendlin
Super User
Super User

Have you tried changing the plot order so that the dealers are rendered on top of the reservations?

Anonymous
Not applicable

Hi @lbendlin , how do you do this if you are only using 1 measure ?
I can see how you do this with using 2, but not with one. Is this an option in the map visual?

Please provide sample data in usable format (not as a picture).

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.