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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ckeepman
Regular Visitor

Appending the same table tagging it differently

Community,

 

I'm trying to find the distance between two points using latitude and longitude. I have a table with subject locations I'm trying to value (5 for example) and a table for comparable locations (25 for example). I think I need to append the comparable location table five times, each time tagging the table by the subject location. How can I set this up dynamically in the query portion?

 

I appreciate your help,

Charlie

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@ckeepman,

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/New-Table-based-on-combination-of-column-values-from-other/...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@ckeepman,

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/New-Table-based-on-combination-of-column-values-from-other/...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes this is very helpful. As an additional functionality is there a way to do a cross join in a way that is more customizable? I have 7k subject properties and 200k comprable properties to compare. If I do a cross join that will create almost 1.5 billion unique ID's (rows). But if I can only compare the states that are next to eachother I could decrease the total rows to around 80 million.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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