Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have three coordinates sets, one GPS and two based on an experimental triangulation algorithm and need to find the difference between the GPS measurement and the two triangulation measurements in meters. One column for longitude, one for lattitude, and an ID column. The ID column is made based on the time of the measurement, and is used to determine which longitudes and latitudes belong together. I have made a small ascii table to demonstrate.
ID LAT LON METHOD
| 1 | X | Y | GPS
| 2 | X2 | Y2 | GPS
| 1 | X3 | Y3 | ALG 1
| 1 | X4 | Y4 | ALG 2
| 2 | X5 | Y5 | ALG 1
| 2 | X6 | Y6 | ALG 2
I need to calculate the distance between (X,Y), and (X3,Y3), and (X4,Y4), with the same done for the coordinates with ID 2,3,4..n, where n = the number of measurements done.
Can I somehow merge all the values attached to the same ID into a single row? In the above example make it look like the following:
ID LAT1 LON1 LAT2 LON2 LAT3 LON3
| 1 | X | Y | X3 | Y3 | X4 | Y4
| 2 | X2 | Y2 | X5 | Y5 | X6 | Y6
Where LAT1 and LON1 refers to GPS, 2 refers to ALG1 and 3 refers to ALG2.
Thanks in advance for the help!
Solved! Go to Solution.
@elc ,
You may take a look at the following post.
https://community.powerbi.com/t5/Desktop/Multiple-Rows-into-Multiple-Columns/td-p/543527
@elc ,
You may take a look at the following post.
https://community.powerbi.com/t5/Desktop/Multiple-Rows-into-Multiple-Columns/td-p/543527
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
50 |
User | Count |
---|---|
145 | |
109 | |
108 | |
90 | |
64 |