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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Users online (52)