Tag: powerplatform

Plot Multiple Map Points In Power Apps (Canvas Apps) with Dynamic Filters

Hi Everyone

In this vlog we will see how to see multiple points/pushpins on a map in canvas app. As always, this is a no code solution and fairly basic.

I have came across this requirement so many times in Dynamics 365 for e.g. show all customers on a map or contacts on a map or even appointments on a map. Many solutions are available for Dynamics 365 CE including add ons like Maplytics. But for canvas app, following issues persists:

  • No map components
  • Static bing/google maps can be inserted by inserting an image and then providing URL
  • Bing or Google maps API is required
  • Hard code latitude and longitude
  • If you want to show more than one push pin, you need to hard code all coordinates
  • You can’t apply dynamic filters on your maps

To me all of the above are not easy to use solution and that’s why I decided to look for something which all our #nocodemonkeys can use. This can be the fastest way you can plot all your customers on a map within canvas apps.

Prerequisites:

  • Access to Power Apps
  • Access to Power BI (Desktop and Web)
  • Super Basic Knowledge of how to create a chart/report in Power BI
  • Basic understanding of Power Apps formulas
  • Entity (accounts/contacts/appointments) must have Latitude and Longitude filled (otherwise it won’t be shown on maps

Note: You can get latitude and longitude by create a flow in Power Automate

Step 1-7 for Power BI and Step 8-12 Power Apps

Step 1: Go to your Power BI Desktop>>Create a connection>>Get data (e.g. Accounts)

Step 2: Once your data is loaded>>click on report icon and then add the visualisation type as shown below:

Step 3: Add data fields

Step 4: Save your Power BI report by clicking on the disk button on top left

Step 5: Login to Power BI web https://app.powerbi.com/

Step 6: Click on ‘Workspace’ in the left navigation and then click reports (this is where you can find the report you created in above steps)

Step 7: Click on the report to open and then click pin visual

Step 8: Login to Power Apps https://make.powerapps.com/ and pick your existing app or create a new canvas app

Step 9: Click Insert then ‘Power BI tile’

Step 10: Select Workspace, Dashboard and Tile

Dynamic Filtering- Step 11 & 12

Step 11: Apply dynamic filtering by adding new components like Text Input or Drop Downs. In my case, I have two drop downs and one text input; names below:

StateDropDown- With 5 values (you can have any values here)

CityDropDown-With 5 values (you can have any values here)

txtPostCode- Text input for ZIP/Postal Code

Step 12: Update the ‘TileURL’ of Power BI tile. Use the following sub-steps based on how many filters you need as it can go to Nth level (I am only showing three)

12a. One field filter

“Power BI TileURL” & If(!IsBlank(txtPostCode.Text),
“&$filter=accounts/address1_postalcode eq ‘” & txtPostCode.Text & “‘”)

12b. Two fields filter

“Power BI TileURL” & If(!IsBlank(txtPostCode.Text),
“&$filter=accounts/address1_postalcode eq ‘” & txtPostCode.Text & “‘”,
!IsBlank(CityDropdown.SelectedText.Value),
“&$filter=accounts/address1_city eq ‘” & CityDropdown.SelectedText.Value & “‘”)

12c. Three fields filter

https://app.powerbi.com/embed?dashboardId=ed06a838-8b0f-4445-a582-1890699df2d3&tileId=401efbc1-2194-4807-a07e-7e89567e49ce&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly9XQUJJLUFVU1RSQUxJQS1FQVNULUEtUFJJTUFSWS1yZWRpcmVjdC5hbmFseXNpcy53aW5kb3dzLm5ldCJ9” & If(
!IsBlank(txtPostCode.Text),
“&$filter=accounts/address1_postalcode eq ‘” & txtPostCode.Text & “‘”,
!IsBlank(CityDropdown.SelectedText.Value),
“&$filter=accounts/address1_city eq ‘” & CityDropdown.SelectedText.Value & “‘”,
!IsBlank(StateDropdown.SelectedText.Value),
“&$filter=accounts/address1_stateorprovince eq ‘” & StateDropdown.SelectedText.Value & “‘”
)

Note: Screenshot below for better understanding

Result after dynamic filters

Video here:

Hope it helps!

Subscribe to my channel and follow my blog.

Thanks!

Let’s keep sharing!

Sharing my MVP Award with you!

Hi Everyone

A huge thank you to all for supporting me by watching my videos, subscribing to my channel and blog. it couldn’t have been possible without your support and that’s why I decided to share my MVP award with you by unboxing it together.

I received the notification of my award via email on 1st Jan 2020 and I received the actual award kit itself on 20th Jan 2020. Since I wanted to unbox it together with you, I thought I will wait until I can make a video. It was hard to see the box but not be able to open it but I was happy that I am sharing it with you guys.

I shared the news on Linkedin and received 35000+ views on my post and that’s just amazing for me. Follow me on linkedin, twitter and if you’ve not subscribed to my channel, do it now. 🙂

Unboxing video here:

Subscribe to my channel and follow my blog.

Thanks!

Let’s keep sharing!

The Top 10 Power Automate Community Blogs of 2019

Hi Readers

This list might help you to refer to these blogs when you need it. If you haven’t read it yet, click on the link and read it. I have also provided the URL of Author’s website (just in case you want to check out their awesome work). Please note that my list doesn’t include blogs from MSFT Employees. And is based on no. of maximum views on a blog post per month for e.g. if in January there were 5 blogs (Blog Post 1, Blog Post 2, Blog Post 3, Blog Post 4, Blog Post 5, ) with no. of views 5000, 4000, 3000, 2000, 1000 respectively; I have picked Blog Post 1 as top of that month.

Following are the top 10 by month:

MonthBlog Title No. of ViewsAuthorAuthor’s WebsiteTwitter
January’19Top 5 Microsoft Flow features from the April 2019 release notes 2976Daniel Laskewitz https://www.o365dude.com/ https://twitter.com/laskewitz
February’19Send a summary email of Microsoft Team Channel conversations/posts to all members on a schedule 6473Reza Dorani https://rezadorrani.com/ https://twitter.com/rezadorrani
March’19Create Planner Task and Include Attachments From Outlook Email 17908Alan https://www.alanps1.io/ https://twitter.com/AlanO365
April’19Create Planner Tasks from New SharePoint List Item 5801Laura GB https://hatfullofdata.blog/ https://twitter.com/Laura_GB
May’19How to add a text watermark to a PDF document using Microsoft Flow or Azure Logic Apps 1904Anton Khritonenkov https://medium.com/plumsail https://twitter.com/antonkhrit
June’19Automation Squared using MS Flow and UiPath 5576Yash Agarwal https://www.bythedevs.com/ https://twitter.com/yashagarwal1651
July’19The Four M’s of Microsoft Flow 2031Melissa Hubbard https://melihubb.com/ https://twitter.com/melihubb
August’19Microsoft Flow to Provide Item Level Permission on SharePoint List 2029Siddharth Vaghasia https://siddharthvaghasia.com/ https://twitter.com/siddh_me
September’19Extract data from documents with Microsoft Flow 2439Jay Goodison https://blog.encodian.com/ https://twitter.com/encodian
October’19Microsoft Flow as a Service2199 Yash Agarwal https://www.bythedevs.com/ https://twitter.com/yashagarwal1651
November’19Every Power Automate (MS Flow) Filter Query You Ever Wanted To Know As A Functional Consultant 1871Prashant Shukla https://diyd365.com/ https://twitter.com/DIYD365
December’19Power Automate & To-Do – The Beginning of a Beautiful Relationship2232Sharon Sumner https://power-full.blog/ https://twitter.com/Sharon__Sumner

Hope it helps!

Subscribe to my channel and follow my blog.

Thanks!

Let’s keep sharing!

The Top 3 DIY D365 Blogs in 2019

Hello Readers

christmas

First of all a big thank you for your support in 2019. Please continue supporting.

Following is a list of top 3 blog posts which you liked the most:

Rank Blog PostViews
1Every PowerApps Formula You Ever Wanted To Know As A Functional Consultant 3136
2Every Power Automate (MS Flow) Filter Query You Ever Wanted To Know As A Functional Consultant 2317
3Make A Better First Impression With Visitor Sign In App (PowerApps)2173

If you’re new here or haven’t read it yet, click on the link and have a read.

Most views I got were on Home Page/ Archives 13150 but that can’t be classified as a blog so no mention in the ranking table.

Note: No. of views was accurate as at 12/12/2019. Ranking is based on the views I received on my website and powerusers community blog.

Thanks for reading!

Subscribe to my channel and follow my blog.

#TGIF Episode 8: Top Reasons to Use Power Automate (Power Automate vs Dynamics 365 Workflows)

Hi Readers and Viewers

Merry Christmas and a very Happy New Year! Thanks for your support in 2019 🙂

In this video, we will look at the top reasons for you to start using Power Automate. Also, this is the last episode of the series so I thought what’s better than a comparison. If you remember, in my first episode I asked you that have you found your reason to use Power Automate yet? Well, if you haven’t I am giving you the reasons in this episode.

Power Automate FlowDynamics 365 CE Workflow
No Code SMS Integration https://txtsync.com Not OOTB
Social Media IntegrationNot OOTB
Convert to PDF (Multiple ways available)Not OOTB
Copy Salesforce Account/Contacts to D365Not OOTB
Sync email attachements to OneDriveNot OOTB
Gmail to Dynamics 365 and Dynamics 365 to Google calendar Not OOTB
Updating 1 to Many relationship recordsNot OOTB
Update a lookup field from text field
https://diyd365.com/2019/03/12/update-a-lookup-from-a-text-field-no-code-solution/
Not OOTB
Update opportunity/order/quote from opportunity/order/quote close forms
https://diyd365.com/2019/09/13/how-to-update-an-opportunity-from-opportunity-close-and-send-an-email-on-opportunity-close-using-ms-flows-no-code-solution/
Not OOTB

Everything in the list above is in context of Dynamics 365. Out of the box (OOTB) Dynamics 365 workflows can’t do any of the above. You will have to create a custom workflow (#code) or a plugin (#code).

Hope I have given you reasons to start working on Power Automate.

Video here:

Fundraising for Rural Aid Australia- TGIF Shirts, here.

Let me know your thoughts!

Subscribe to my channel and follow my blog.

Thanks!

Let’s keep sharing!

#TGIF Episode 7: Using Power Automate (Microsoft Flow) Mobile App To Build A Flow

Hi Readers and Viewers

In this blog & video, we will look at the ease of using ‘Power Automate’ Mobile App.

First half of the blog talks about the app structure and components/features available (Almost everything is available)

Second half of the blog includes a video where I am demonstrating the app and also create a Flow via Power Automate Mobile App.

Download the app from apple store https://apps.apple.com/au/app/power-automate/id1094928825

Download the app from google play store https://play.google.com/store/apps/details?id=com.microsoft.flow&hl=en

First up, what’s available in the mobile app?

  1. Activity
    • Feed
    • Approvals
  2. Browse
  3. Buttons
  4. Flows
  5. Account

Activity Section

Feed tab

  • You can check the sessions of your Flows here.
  • You can check any notifications you received here.

Approvals tab

  • You can check the approvals list here

Browse Section

Browse Templates by Services

  • Browse by services like Excel, OneDrive etc.

Browse Templates by Categories

  • Browse by categories like mobile, featured, collect data etc.

Button Section

  • All your on-demand flows triggering on a button click are here or can be created from here

Flows Section

  • All your flows will be visible here along with the last run status.
  • All your button flows or on-demand flows will be visible here as well
  • You can click on the flow to perform the following actions:
    • Enable/Disable flow
    • Edit/Modify flow
    • Check owners/Share flow
    • Run history of the flow
    • Save as
    • Delete the flow

Account Section

  • This is where all the settings for your Power Automate App/Account are available. Following actions can be performed here:
    • Select/Change Environment
    • Help and Support
      • Learn
      • Contact Support (Support.microsoft.com)
      • Suggest a Feature (Powerusers Power Automate idea page)
    • About
      • Version
      • License Terms
      • Third Party notices
    • Privacy
      • Privacy (privacy.microsoft.com)
      • Send usage data (yes/no)
    • Give feedback
      • How was your experience?
      • Contact Support
        • Visit community
        • Open support ticket

Video on using the app here:

Hope you find it helpful!

Fundraising for Rural Aid Australia- TGIF Shirts, here.

Let me know your thoughts!

Subscribe to my channel and follow my blog.

Thanks!

Let’s keep sharing!

#TGIF Episode 4: Understanding ‘Scope’ in Flows (Power Automate)

Hello Readers and Viewers

In this episode we will try to understand ‘Scope’ in flows. This is a comparatively short episode as I have used visuals to explain scope.

Scope is available in following categories:

  • User
  • Business Unit
  • Parent Child Business Unit
  • Organisation
  • Custom (Yes, you can enter a custom value)

Dynamics 365 people, does it reminds you of something? Yes, you guessed it right. This is coming from scope of native D365 workflows. But in Power Automate scope is only available if you’re using Common Data Services (CDS) as a data connection. I am providing some screenshots below which might help:

Screen Shot 2019-11-23 at 10.34.04 amScreen Shot 2019-11-23 at 10.35.14 amScreen Shot 2019-11-23 at 10.37.06 amScreen Shot 2019-11-23 at 10.38.26 am

Video here:

Fundraising for Rural Aid Australia- TGIF Shirts, here.

Let me know your thoughts!

Subscribe to my channel and follow my blog.

Thanks!

Let’s keep sharing!