Showing results for 
Search instead for 
Did you mean: 

Polar to Cartesian

Super User
Super User
Super User

Polar 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]))

I have book! Learn Power BI from Packt

Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!