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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

GIS Table Shape Field

I loaded a GIS table into BI. It's a table for a line feature class (pipes). The shape length field is a binary data type. If I were to look at this same table in ArcGIS, the shape length field would be the length of the line. But in Power BI, the value in every row is "binary". How can I transform this column to give me the length of the line instead of "binary".    

 

My goal is to sum the line (pipe) lengths of this field. 

3 REPLIES 3
Anonymous
Not applicable

Hi,

 

This post is a few years old at this point, but I was wondering if you ever got this resolved or found a work around? My thought was creating a seperate numeric field on the feature class and calculating the Shape.Length values into the new field and use that field instead in Power BI for summing up pipe lengths. It's just a thought...but curious what you ended up doing? 

 

Thanks,

Steve

sbraman
New Member

Similar issue - Shape.Length calculated in ESRI comes across as tet of the coordiantes which ESRI presumably calculated the length between - looks like:  "LINE STRING ( coord_start , coord_end) " with multiple sets of coordinates when there is a bend.  I'm connecting to it via the SQC db.  Any chance this will get resolved?  

v-yuta-msft
Community Support
Community Support

@Anonymous ,

 


@Anonymous wrote:

I loaded a GIS table into BI. It's a table for a line feature class (pipes). The shape length field is a binary data type. If I were to look at this same table in ArcGIS, the shape length field would be the length of the line. But in Power BI, the value in every row is "binary". How can I transform this column to give me the length of the line instead of "binary".    

 

My goal is to sum the line (pipe) lengths of this field. 


Could you share more details about "shape length field" and post some sample data?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.