Greg_Deckler
Community Champion
8 years agoPolar to Cartesian
Perhaps more useful as columns than measures, these two quick measures translate polar coordinates to Cartesian coordinates. These measures take 2 inputs, r and theta, which are a point's definition in polar coordinates. The return is the x value in Cartesian coordinates from polar2x and the y value in Cartesian coordinates from polar2y. These allow one to take an equation defined with a polar equation and graph it in Cartesian coordinates, which is kind of handy for producing the visuals shown. Might also be handy to pick an aggregation.
polar2x = MAX([r])*COS(MAX([theta]))
polar2y = MAX([r])*SIN(MAX([theta]))
eyJrIjoiNDQ5NThiYmQtNGYwOS00MGYwLTlhZmEtNDE5NmRlNjM5NGI2IiwidCI6IjRhMDQyNzQzLTM3M2EtNDNkMi04MjdiLTAwM2Y0YzdiYTFlNSIsImMiOjN9
No RepliesBe the first to reply