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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
ksan048
Frequent Visitor

Average IF as a calculated column

Hi all,

 

I am trying to create map in power BI that shows the speed on a road network.  Each section of the road has been defined by an ID and there are over 400 of them. The speed needs to be shown as the average speed based on the user selected filters of the month, time of day and direction. 

 

I am able to do this via a measure but the custom visual (route mapping) I am using doesn't allow me to show measures. I have also tried using a shape file converted to a JSON file. However, it doesn't seem like Power BI currently support linestring types.

 

Does anyone know of a work around??

 

Thanks

 

1 REPLY 1
Anonymous
Not applicable

@ksan048,

Could you please elaborate about "I have also tried using a shape file converted to a JSON file"? Do you also use Shape map visual and create your custom map?

Regards,
Lydia

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors