Newsletter
Join our blog
Join other Azure, Power Platform and SQL Server pros by subscribing to our blog.
Start with the FREE community plan and get your lifetime access to 20+ courses. Get Instant Access Now!
Need help? Talk to an expert: (904) 638-5743
Private Training
Customized training to master new skills and grow your business.
On-Demand Learning
Beginner to advanced classes taught by Microsoft MVPs and Authors.
Bootcamps
In-depth boot camps take you from a novice to mastery in less than a week.
Season Learning Pass
Get access to our very best training offerings for successful up-skilling.
Stream Pro Plus
Combine On-Demand Learning platform with face-to-face Virtual Mentoring.
Certification Training
Prepare and ace your next certification with CertXP.
Private Training
All Courses
View all of the courses available on our on-demand learning platform.
By Learning Path
Explore our courses based on role-specific learning path.
By Product
Find all of the courses for the product you want to master.
Power BI
Turn data into actionable insights with our Power BI courses
Power Apps
Learn to build custom business solutions with ease
Cheat Sheets
Quick references for when you need a little guidance.
Nerd Guides
Summaries developed in conjunction with our Learn with the Nerds sessions.
Downloads
Digital goodies - code samples, student files, and other must have files.
Blog
Stay up-to-date on all things Power BI, Power Apps, Microsoft 365 and Azure.
Community Discord Server
Start here for technology questions to get answers from the community.
Career Guides
Breaking into the field? Let these guides help get you started with a plan.
Affiliate Program
Earn money by driving sales through the Pragmatic Works' Training Affiliate Program.
Reseller Partner
It's time to address your client's training needs.
Foundation
Learn how to get into IT with free training and mentorship.
Management Team
Discover the faces behind our success: Meet our dedicated team
Contact Us
How can we help? Connect with Our Team Today!
FAQs
Find all the information you’re looking for. We’re happy to help.
A few weeks back I was getting towards the end of a hackathon with a great group out of Tennessee. They had one “dream ask” after we had finished building their Power App. They wanted the app to automatically calculate the mileage their IT support technicians traveled from one site location to the next. I had never broached this idea in an application I had built in the past, but I said let’s see what we can do.
Well, the good news is Power Apps has a Bing connector that can tap into maps that can do all sorts of things. One of those is exactly what they wanted, to calculate the distance between two different sites. We started basic by typing in the address of one school location in a text input control and the address of another school location in a second text input control. From there we wired up a button that used the Bing connector to calculate the driving distance in miles.
Once we figured out how to get that to work, we got more ambitious and said let’s store these site locations in our data source and have our users select them from a drop-down box in a form to calculate the distance. From there, we took it over to a form in our app to store the mileage calculation. Now, at the end of the month, we can run a report for each technician to submit their mileage for reimbursement. I’m sure the technicians are going to be thrilled with this as they don’t have to calculate the mileage and submit on their own. The department in charge of reimbursement might not be as happy as more mileage reimbursement forms will come through 😉
To get an idea of how this can be done in a canvas app check out this YouTube video I made after we finished our hackathon together.
Some things to note if you decide to implement this feature in a Canvas app of yours is the connector is still in preview and an API key will need to be generated. A blog from Rejeeve Pentyala on how to set up your Bing Portal account and generate the API key can be found HERE.
Thanks Rejeeve for the blog, you were a lifesaver during my hackathon.
Stay tuned to our channel for more videos in my power platform series! Click Here To View
To follow my blog, The Algebra Teacher Powers to B.I. click here.
If you want or need to increase your Power BI skills, Pragmatic Works On-Demand Learning platform is the perfect place to do it. Our 17 Power BI courses will turn you into a Power BI expert by providing in-depth instruction on all of the capabilities that Power BI provides. Click the link below to get started with a FREE trial!
ABOUT THE AUTHOR
Matt Peterson is a Trainer for Pragmatic Works specializing in the Power Platform. He graduated from the University of North Florida in 2006 and comes with 15 years of teaching experience in high school algebra. Matt earned the accomplishment in 2013 of being named the Florida Gifted Teacher of The Year. His primary focus is helping our customers learn the ins and outs of Power Apps and Power BI.
Free Trial
private training
Newsletter
Join other Azure, Power Platform and SQL Server pros by subscribing to our blog.
Leave a comment