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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors