Canvas App in PowerApps Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/canvas-app-in-powerapps/ Microsoft Dynamics CRM . Microsoft Power Platform Fri, 18 Jun 2021 17:18:02 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 Canvas App in PowerApps Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/canvas-app-in-powerapps/ 32 32 176351444 Behavior Properties in Canvas Power App http://microsoftdynamics.in/2021/06/18/behavior-properties-in-canvas-power-app/ Fri, 18 Jun 2021 17:18:02 +0000 https://www.inogic.com/blog/?p=28209 Canvas App is no code/low code business app with which you can design the app by dragging and dropping elements onto a canvas. Canvas app is used to build mobile apps with various functionalities. Recently, we had a client requirement and to fulfill this requirement we needed to create multiple screens where some of the...

The post Behavior Properties in Canvas Power App appeared first on Microsoft Dynamics 365 Blog.

]]>
Canvas App is no code/low code business app with which you can design the app by dragging and dropping elements onto a canvas. Canvas app is used to build mobile apps with various functionalities. Recently, we had a client requirement and to fulfill this requirement we needed to create multiple screens where some of the screen had common control. So, we have decided to create a component of the Power App. On one of the screens, we had the functionality to schedule an appointment with the customer. Though we used component but now we have a requirement to show a message when the sales rep selects the appointment date. To achieve this task, we wanted to add some code when component control changes. Previously, there was no way to do something when control value changes but with the recent release, it is available in Power App as behavior properties. But it is still in the experimental section. To use the behavior properties feature we need to enable it first.

To enable please follow the steps given below:

  • First, click on File in Canvas App.
  • Then go to Settings >Upcoming features.
  • Then go to Enhanced component properties and enable it.

Behavior properties in Canvas Power App

Once you enable the “Enhanced component properties”, we will be able to see the Behavior property when we add new custom property from the customer properties section as shown below:

Behavior Properties in Canvas Power App

As to achieve our requirement to show message to sale rep when they select appointment date to reconfirm appointment date; we have added a custom property with name changeDate of type as Behavior.

To send the selected appointment date, we added parameter to behavior custom property.

Behavior properties in Canvas app

After clicking on New parameter, the below window opened where we mentioned name and data type.

Behavior properties in Canvas app

Next, select the date control from a component that we created and pass custom behavior property with parameter in onChange event to appointment date control.

Behavior properties in Canvas app

Finally when we select the component, we will see the “changeDate” along with “OnReset” event. To show the message then select “changeDate” and define notify function as shown below:

Behavior properties in Canvas app

When the sales rep opens the Canvas App and tries to book an appointment and select the appointment date then the message will be shown that you have selected an appointment date. For example “06/21/2021”.

Behavior properties in Canvas app

Conclusion:

With help of Behavior property, we can create custom properties to achieve more functionalities.

Reference Source – https://powerapps.microsoft.com/es-es/blog/enhanced-component-properties/

Please visit the Source and support them

The post Behavior Properties in Canvas Power App appeared first on Microsoft Dynamics 365 Blog.

]]>
4284
Streamline Power BI Refresh: Refresh dataset after a successful refresh of dataflow http://microsoftdynamics.in/2021/01/07/streamline-power-bi-refresh-refresh-dataset-after-a-successful-refresh-of-dataflow/ Thu, 07 Jan 2021 02:58:11 +0000 https://radacad.com/?p=14515 Do you have a Power BI dataset that gets data from a dataflow? have you ever thought; “can I get the dataset refreshed only after the refresh of dataflow completed and was successful?” The answer to this question is yes, you can. One of the recent updates from the data integration team of Power BI Read more about Streamline Power BI Refresh: Refresh dataset after a successful refresh of dataflow[…]
The post Streamline Power BI Refresh: Refresh dataset after a successful refresh of dataflow appeared first on RADACAD. ...

The post Streamline Power BI Refresh: Refresh dataset after a successful refresh of dataflow appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

streamline Power BI dataflow and dataset refresh

Do you have a Power BI dataset that gets data from a dataflow? have you ever thought; “can I get the dataset refreshed only after the refresh of dataflow completed and was successful?” The answer to this question is yes, you can. One of the recent updates from the data integration team of Power BI made this available for you. Let’s see in this blog and video, how this is possible.

The scenario

If you are using both dataflows and datasets in your Power BI architecture, then your datasets are very likely getting part of their data from Power BI dataflows. It would be great if you can get the Power BI dataset refreshed right after a successful refresh of the dataflow. In fact, you can do a scenario like below.

streamline the refresh of Power BI dataset automatically after successful refresh of the Power BI dataflow

Power Automate connector for dataflow

Power Automate recently announced availability of a connector that allows you to trigger a flow when a dataflow refresh completes.

Trigger for when the dataflow refresh completes

Choosing the dataflow

You can then choose the workspace (or environment if you are using Power Platform dataflows), and the dataflow.

Dataflow setting in the Power Automate dataflow connector

Condition on success or fail

The dataflow refresh can succeed or fail. You can choose the proper action in each case. For doing this, you can choose the result of refresh to be Success.

checking if the dataflow refresh was successful

Refresh Power BI dataset

In the event of successful refresh of the dataflow, you can then run the refresh of the Power BI dataset.

refresh Power BI dataset from Power Automate

Refreshing Power BI dataset through Power Automate is an ability that we had for sometime in the service.

Capture the failure

You can also capture the failure details and send a notification (or you can add a record in a database table for further log reporting) in the case of failure.

send email notification if the dataflow refresh failed

Overall flow

The overall flow seems a really simple but effective control of the refresh as you can see below.

refresh Power BI dataset after dataflow

My thoughts

Making sure that the refresh of the dataset happens after the refresh of the dataflow, was one of the challenges of Power BI developers if they use dataflow. Now, using this simple functionality, you can get the refresh process streamlined all the way from the dataflow.

Dataflow refresh can be done as a task in the Power Automate as well. Which might be useful for some scenarios, such as running the refresh of the dataflow after a certain event.

refresh a dataflow from Power Automate

This is not only good for refreshing the Power BI dataset after the dataflow, it is also good for refreshing a dataflow after the other one. Especially in best practice scenarios of dataflow, I always recommend having layers of the dataflow for staging, data transformation, etc, as I explained in the below article.

multi-layered dataflow. source: https://docs.microsoft.com/en-us/power-query/dataflows/best-practices-reusing-dataflows

Although, dataflow is not a replacement for the data warehouses. However, having features like this helps the usability and the adoption of this great transformation service.

Do you think of any scenarios that you use this for? let me know in the comments below, I’d love to hear about your scenarios.

Video

Facebooktwitterlinkedinrssyoutube

The post Streamline Power BI Refresh: Refresh dataset after a successful refresh of dataflow appeared first on RADACAD.

Follow Source

The post Streamline Power BI Refresh: Refresh dataset after a successful refresh of dataflow appeared first on Microsoft Dynamics 365 Blog.

]]>
4368
Power Automate for OCR http://microsoftdynamics.in/2020/03/31/power-automate-for-ocr/ Tue, 31 Mar 2020 03:22:39 +0000 https://radacad.com/?p=13176 In the last post, I have explained how to use text recognizer fo the aim of detecting the text in a picture using the AI builder in Power Apps. In this post and video, you will how to call it in Power Automate and extract the text from an image that is located in Onedrive Read more about Power Automate for OCR[…]
The post Power Automate for OCR appeared first on RADACAD. ...

The post Power Automate for OCR appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

In the last post, I have explained how to use text recognizer fo the aim of detecting the text in a picture using the AI builder in Power Apps.

In this post and video, you will how to call it in Power Automate and extract the text from an image that is located in Onedrive and the result will be written back in Azure Blob Storage.

To start open the Power Apps and click on the AI Builder and Build and choose the text recognition.

then use the option the use in flow (Power Automate)

 

 

Next, in the Power Automate, click on the flow and create a new flow with a trigger of the When a file is created.

Next, the Predict module with the Model: TerxtRecognition model and the image from the previous trigger.

Next, use the Create blob for the output in Microsoft Azure.

for the name of the file, I will put the current time plus the file type that is a text file

Next, for the Blob content, use the function concat and from the Dynamic content select the PredictionOutput.

All done!

just put an image file like this on in the folder in one drive and run the flow to see the result in the blob storage!

 

See the video from

 

Facebooktwitterlinkedinrssyoutube

The post Power Automate for OCR appeared first on RADACAD.

Follow Source

The post Power Automate for OCR appeared first on Microsoft Dynamics 365 Blog.

]]>
4375
Recent Update in Predict Module in Power Automate Predict- Part 4 http://microsoftdynamics.in/2020/03/03/recent-update-in-predict-module-in-power-automate-predict-part-4/ Mon, 02 Mar 2020 21:07:05 +0000 https://radacad.com/?p=12901 In the previous posts ( Post 1, Post 2, and Post 3) the process of analyzing the forms using the Form processing feature in AI Builder has been explained. from last month some changes happen in the Prediction module in Microsoft Power Automate that will impact the form processing experience using flow. In this post, Read more about Recent Update in Predict Module in Power Automate Predict- Part 4[…]
The post Recent Update in Predict Module in Power Automate Predict- Part 4 appeared first on RADACAD. ...

The post Recent Update in Predict Module in Power Automate Predict- Part 4 appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

In the previous posts ( Post 1, Post 2, and Post 3) the process of analyzing the forms using the Form processing feature in AI Builder has been explained.
from last month some changes happen in the Prediction module in Microsoft Power Automate that will impact the form processing experience using flow.
In this post, I will show you how to work with the new one. The previous of you created still working.
the changes happen in the Predict module.

What we Have

in the below flow we have a module Predict that has a Request Payload, and we need to specify the type of the image and the file as a string, also later we need to parse the result by another component name Parse JSON.

 

What to Change

Now everything gets a bit easier, we have a Predict module that in the separate box it gets the document type and document itself, next in the create type we just need to use the Concat function to get the result and values.

 

I have used the below code for the File Content:

 

concat(‘ Session Title: ‘,outputs(‘Predict’)?[‘body/responsev2/predictionOutput/labels/Session_85648318f538ad191ff5651a30c24966/value’],’ ,Speaker Name: ‘,outputs(‘Predict’)[‘body/responsev2/predictionOutput/labels/Speaker_64a30215a5867855cdcb495ee6eef3ec/value’],’ ,Comments: ‘,outputs(‘Predict’)?[‘body/responsev2/predictionOutput/labels/What_0027580d34b848d69176d3f4a73de5c5450/value’])

 

also, watch below video

 

Facebooktwitterlinkedinrssyoutube

The post Recent Update in Predict Module in Power Automate Predict- Part 4 appeared first on RADACAD.

Follow Source

The post Recent Update in Predict Module in Power Automate Predict- Part 4 appeared first on Microsoft Dynamics 365 Blog.

]]>
4379
Automation of Sentiment Analysis using AI Builder http://microsoftdynamics.in/2020/01/28/automation-of-sentiment-analysis-using-ai-builder/ Tue, 28 Jan 2020 07:55:19 +0000 https://radacad.com/?p=12575 There are many usages of  AI Builder for Object detection, form processing, Binary Prediction, Text classification, business card Reader. However, besides them, there is another one that is available now in Power Automate. In this post, I am going to show you how to use this feature, for creating a process for automatically apply sentiment Read more about Automation of Sentiment Analysis using AI Builder[…]
The post Automation of Sentiment Analysis using AI Builder appeared first on RADACAD. ...

The post Automation of Sentiment Analysis using AI Builder appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

There are many usages of  AI Builder for Object detection, form processing, Binary Prediction, Text classification, business card Reader. However, besides them, there is another one that is available now in Power Automate. In this post, I am going to show you how to use this feature, for creating a process for automatically apply sentiment analysis and create an output file to store back to Onedrive and then clean the result using Power Query.

Power Automate

navigate to Power Automate 

login to the account you have AI Builder environment, Then under the solution, create a new flow with the trigger of “When a file is Created” in Onedrive

 

In the next step, you need to select the Predict to component from the Next Step action, in the model section please choose the SentimentAnalysisModel 

Then in the Request Payload section, you need to first click in the box, then write the below code

{“text”:””,”language”:”en”} (make sure the it is “)

 

 

new window chooses the Expression and clicks on the ” ” in front of the text and from the Dynamic Content, choose the File content.

now choose a new action, and select the Create file to send back the result to the Onedrive.

for the Folder path just choose the location you want to save, for the file name you can use the Expression box to create a simple name and type like

concat(utcNow(),’.json’)

then in the File content select the ResponsePayload from Dynamic Content

 

Now just save the flow and test it you should upload a text file that has some comments like Hotel comment in the text format, then you need to run the flow.

below text can be a sample from hotel review

“The suite was awesome. We did not have much interaction with the staff. We did sleep on the queen size sofa bed in the living room instead of the queen size bed in the actual bedroom due to the temperature. It was very hot and humid. The air conditioner in the living room does not cool off the bedroom. This suite is very close to shopping and dining. After each day of adventures we would walk to dinner at different joints. I will stay here again when I return.”

Now a JSON file should created and you can use Power BI to analyze it in an easy way.

In the next post, I will explain how to analyze the result with Power Query.

see the full video from here

 

Facebooktwitterlinkedinrssyoutube

The post Automation of Sentiment Analysis using AI Builder appeared first on RADACAD.

Follow Source

The post Automation of Sentiment Analysis using AI Builder appeared first on Microsoft Dynamics 365 Blog.

]]>
4381
Refresh Power BI Queries Through Power Platform Dataflows: Unlimited Times with Any Frequency http://microsoftdynamics.in/2020/01/06/refresh-power-bi-queries-through-power-platform-dataflows-unlimited-times-with-any-frequency/ Mon, 06 Jan 2020 02:44:18 +0000 https://radacad.com/?p=12167 If you don’t have a Power BI Premium capacity license, then you are limited to refresh your dataflows up to eight times a day, with the frequency of 30 minutes. The good news for you is that you have a way to do unlimited refreshes and with whatever frequency you like using Power Platform Dataflows. Read more about Refresh Power BI Queries Through Power Platform Dataflows: Unlimited Times with Any Frequency[…]
The post Refresh Power BI Queries Through Power Platform Dataflows: Unlimited Times with Any Frequency appeared first on RADACAD. ...

The post Refresh Power BI Queries Through Power Platform Dataflows: Unlimited Times with Any Frequency appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

If you don’t have a Power BI Premium capacity license, then you are limited to refresh your dataflows up to eight times a day, with the frequency of 30 minutes. The good news for you is that you have a way to do unlimited refreshes and with whatever frequency you like using Power Platform Dataflows. Read the rest of this blog article to learn how.

What is Dataflow?

In the world of Power BI, You can separate the data transformation layer using Dataflows. Dataflows can run one or multiple Power Query scripts on the cloud and store the result into Azure Data Lake. The result of the dataflow (which is stored in Azure Data Lake) can then be used in a Power BI dataset using Get Data from Power BI dataflows. If you want to learn more about Dataflows, I highly recommend reading my dataflows series that starts with this article.

Creating Power Platform Dataflows

Dataflow is not only a concept for Power BI, but It is also available as Power Platform dataflow. You can check out one of the announcements of features added in Power Platform Dataflows by Miguel Llopis (one of the product managers of the Data Integration team at Microsoft), here. You can create Power Platform Dataflows, very similar to the way that you create Power BI dataflows. The only difference at the beginning is where you create it. Power BI dataflows are created in Power BI service, Power Platform Dataflows can be created in Power Apps (or Power Platform) portal.

Login to Power Platform Portal here.

Then go to Dataflows under the Data section,

Start a New dataflow

just provide a name for the dataflow, and then create

At this step, you can either go ahead and get data from anywhere you want or use Blank Query and copy a Power Query script from Power BI Desktop into here.

after preparing your queries, you can go to the step of loading it.

Load to Entity

The load to entity step in Power Platform Dataflows is a bit different from Power BI Dataflows. In Power BI Dataflows, the result will be loaded into CSV files into Azure Data Lake, so no more configuration is needed. However, Power Platform Dataflows stores the data into CDS (Common Data Services), and you have to select the entity you want to load this data into it.

You can either choose one of the existing entities or create a new entity, then map fields. Because these are CDS entities, there are some rules for having key fields, name fields, etc. If you don’t know what the CDS is, and where it stores the data, read my article about CDS here.

Refresh Settings

After setting up the load to entity and mapping fields correctly, you will get into the Refresh settings. This is where you can refresh your dataflow even with the frequency of a minute. You can refresh it as many times as you want. You are not limited to eight times or even 48 times a day.

Refresh as much as you want

Here you can see the frequency of the test dataflow that I set up, which ran every minute.

What about Licensing?

I know what you are going to ask now! What about licensing? What type of license do you need for this? Well, for Power Platform dataflows, you don’t need a Power BI license at all, not Premium, not even Pro. You do need, however, to have a Power Apps license. at the time of writing this blog post, there are two options, $10 a month, and $40 a month. Both of these can be cheaper than Power BI Premium if you are a single user (or even a few users). The main difference between the two plans of Power Apps, as I see is the database and file size for CDS;

How to use the results in Power BI?

You can use the result of dataflows in Power BI (similar to the way that you can use the result of Power BI dataflows in Power BI). You need to Get Data from Power Platform Dataflows.

However, at the time of writing this blog post, this feature is still beta and under development, and might not show the Power Platform dataflows.

Another option is also to get data from the Common Data Service. (Because Power Platform Dataflows stores the data into CDS)

Note that Power BI Dataset Refresh Limites Still Applies

Having a Power Query script that can refresh even every minute is great. However, you have to note that the dataflow refresh is different from the dataset refresh. If you use the result of the dataflow in a Power BI dataset, Still you need to get your dataset refreshed, and that means you are limited to eight times a day or 48 times a day or API refreshes depends on your Power BI license limits.

However, having the ability to refresh even the dataflow more frequent, still can be useful for some scenarios. I bet if you came to this post by searching for such functionality, you have some ideas about that already 😉.

Video

Facebooktwitterlinkedinrssyoutube

The post Refresh Power BI Queries Through Power Platform Dataflows: Unlimited Times with Any Frequency appeared first on RADACAD.

Follow Source

The post Refresh Power BI Queries Through Power Platform Dataflows: Unlimited Times with Any Frequency appeared first on Microsoft Dynamics 365 Blog.

]]>
4384
Form Processing Work flow- Create Form Processing Model Part 1 http://microsoftdynamics.in/2019/08/15/form-processing-work-flow-create-form-processing-model-part-1/ Wed, 14 Aug 2019 19:53:30 +0000 https://radacad.com/?p=11313 Another exiting new update in AI Builder is Form Processing. With for Processing you able to train the model with forms you have and AI builder able to detect each session of the form and the related values. This feature is so exiting form as for 5 years I am one of the organizer of Read more about Form Processing Work flow- Create Form Processing Model Part 1[…]
The post Form Processing Work flow- Create Form Processing Model Part 1 appeared first on RADACAD. ...

The post Form Processing Work flow- Create Form Processing Model Part 1 appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

Another exiting new update in AI Builder is Form Processing. With for Processing you able to train the model with forms you have and AI builder able to detect each session of the form and the related values. This feature is so exiting form as for 5 years I am one of the organizer of SQL Saturday Auckland and always I have challenge with evaluation. In some strange way people prefer to evaluate the sessions via paper rather online link. So I need to create an application with cognitive service that able to detect the elements in a form. Such as title of the session, speaker name and the comments from the attendees. In this post and the next one, I will explain the process from creating the form processing model to Flow application that helps me.

 

in this post and next One, I will explain the process.

First: Set up the Form Processing in AI Builder

Before start Make sure

! Make sure you have forms and at least 5 forms with less than 4 MB size and if it is handwritten form, the quality of form in jpg/png or PDF make sure to be good.

! You already access to AI Builder environment see Post

Now, you can start logging into the Power Apps make sure to access the environment you can see the AI Builder. You should see the AI Builder icon in left side of the window.

 

Next, under the AI Builder, choose the Build Option, then from AI model, choose the Form Processing.

In the new page, Form Processing put a name for the Model Name then select the create

The first step is Analyse Documents, you need to import at least 5 samples of the filled form you have. Just make sure the quality be good and the size of all file does not exceed 4MB.

 

 

As I mentioned before, I want to use this form processing for the aim of session evaluation, so I import 6 different session evaluation like below :

After importing the forms, you need to analyse the documents, so AI Builder can detect each section of the forms and related values.

 

Analysing the form take a couple of minutes, after that, you need to check the identified fields and choose the one that is matter to you

As you can see in the below picture, in this example three fields have been identified, and you able to see the confidence of each part by hovering your mouse over each field. Choose the fields you are happy about. The selected fields will be shown in the right panel.

 

 

After selecting the fields, you are in the second step of building form processing, to navigate to the third step, click on the Next.

 

Now, you imported your sample forms, at this stage you can train your model, you can see a summary of the model as the number of forms and number of selected fields. Then click on the Train option to navigate to the last step.

Training will take about a couple of minutes, depends on the number of documents for training, after training complete, Go to details page.

 

In the details page, you can see the number of documents you uploaded for training, the number of detected fields in each form, You can also test the model and then publish it.

 

 

for testing the mode, you need to import a sample of the form that you have, then wait to see the result in the Quick Test page.

In the sample, all trained fields should be identified. Next Back to the details page and Publish the model so you can use it in other applications

 

 

I want to create a workflow so I can upload pictures in OneDrive, then using this model and store back to OneDrive the result as a text file so I can use it Power BI report. As a result, after creating a model, I navigate to the Microsoft Flow. and I log in in the same environment I created the form processing model.

To make sure I can see the model I just created in Microsoft Flow, click on the model and you should see the Form Processing model is available with Publish Status as Live.

 

 

In the next post, I will explain how I create a Workflow that able to read scanned file from the OneDrive folder then apply the created model and store back in a text file in the OneDrive again.

 

Facebooktwitterlinkedinrssyoutube

The post Form Processing Work flow- Create Form Processing Model Part 1 appeared first on RADACAD.

Follow Source

The post Form Processing Work flow- Create Form Processing Model Part 1 appeared first on Microsoft Dynamics 365 Blog.

]]>
4388
Activate AI Builder In Power Apps and Microsoft Flow http://microsoftdynamics.in/2019/07/22/activate-ai-builder-in-power-apps-and-microsoft-flow/ Mon, 22 Jul 2019 05:08:40 +0000 https://radacad.com/?p=11011 As I mentioned in Post 1 and Post 2, AI builder is a game-changer in Power Apps and Flow, it provides the facility to easy embed AI in applications and process without writing any code. Also, there is no need to set up other environment and applications to make it work. In this post, I Read more about Activate AI Builder In Power Apps and Microsoft Flow[…]
The post Activate AI Builder In Power Apps and Microsoft Flow appeared first on RADACAD. ...

The post Activate AI Builder In Power Apps and Microsoft Flow appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

As I mentioned in Post 1 and Post 2, AI builder is a game-changer in Power Apps and Flow, it provides the facility to easy embed AI in applications and process without writing any code. Also, there is no need to set up other environment and applications to make it work.

In this post, I am going to show you how to activate your Power Apps trial account to see and practice the AI Builder.

There is some note:

AI Builder in Power Apps available in Europe and the USA region.

There is a Trial (29 Days) and Production plan

for this scenario, I choose the USA and Trial plan to examine the AI Builder

 

Set Up Environment in Power Apps

To setup, the environment needs to login into Microsoft Power Apps Portal. Login

In the next step, you need to navigate to the Gear icon at the top, then click on the Admin Centre

 

this, navigate you to the admin centre environment.

As you can see in the environment page, all of my available account under RADACAD has been shown with their type, region and name. As the default region for RADACAD account in Australia, and AI Builder for now just available in USA and Europe, I need to create a new environment.  In this new page, you will see the Environments option.

In the new page, you need to provide the environment name, region ( in my scenario I choose the USA) and the environment Type.

It will take a couple of seconds to create the environment, and you will receive a message about it as well.

After creating the new environment to access to AI Builder, you need to create a database in Common Data Services(CDS)

another important note

AI Builder need to access to Common Data Service

Click on the Create database.

During the creating the database, it will ask you about the data filed for Currency and Language. in CDS, you able to mention, if you have a currency field what currency be the default one, or in what language you want to store your data.

after setting up all required parameters click on the Create database so your new environment access to CDS. Now you able to see the new environment with the name AI Builder 

Now you need to back to Power Apps main page, click on the Environment dropdown at the top, and select the AIBuilder option. As you can see in the below picture, on the left panel, the AI Builder (Preview) has been shown.

after setting up the AI Builder for Power Apps, you can see the same functionalities in Microsoft Flow.

you need to Login to Microsoft Flow,

at the top right click on the account name, and choose the environment that you already set up for  AI Builder. The same as Power Apps, you able to see the AI Builder on the left side.

 

 

to see how AI Builder Works see Post 2 and also more post on it coming soon.

Special thanks to Joe Fernandez from Power Apps team to help to examine these features.

1- https://docs.microsoft.com/en-us/power-platform/admin/create-environment 

Facebooktwitterlinkedinrssyoutube

The post Activate AI Builder In Power Apps and Microsoft Flow appeared first on RADACAD.

Follow Source

The post Activate AI Builder In Power Apps and Microsoft Flow appeared first on Microsoft Dynamics 365 Blog.

]]>
4390
AI Builder: AI Embedded in Power Apps- Part 2 http://microsoftdynamics.in/2019/07/02/ai-builder-ai-embedded-in-power-apps-part-2/ Tue, 02 Jul 2019 08:13:09 +0000 https://radacad.com/?p=10893 As mentioned in Part 1, AI Builder is a game changer in Power Apps and Microsoft flow. In this post, I am going to show how you able to access the AI Builder for classification.  to see how to set up your environment check the Part 1. Get Data   to get data, you need Read more about AI Builder: AI Embedded in Power Apps- Part 2[…]
The post AI Builder: AI Embedded in Power Apps- Part 2 appeared first on RADACAD. ...

The post AI Builder: AI Embedded in Power Apps- Part 2 appeared first on Microsoft Dynamics 365 Blog.

]]>
Facebooktwitterredditpinterestlinkedintumblrmail

As mentioned in Part 1, AI Builder is a game changer in Power Apps and Microsoft flow.

In this post, I am going to show how you able to access the AI Builder for classification. 

to see how to set up your environment check the Part 1.

Get Data

 

to get data, you need to click on the Data–> Entities in the right panel

then, click on the Get Data option from the top menu.

in the menu, I am choosing the Text/CSV as I already load my dataset into Blob storage.

Next, just put the link to the blob storage and click the Next, if you access via a place that needs authentication then you need to set it up here, in this scenario, I do not access a private channel.

Now, you will access the data flow editor to clean and transform your data if needed ( remove columns, combine tables…), then put a name for the data and click on the Next.

 

In this part, you need to adjust and map your entity, if you already have the entity, in the Load setting, you need to choose the  first option ( load to the existing entity)

otherwise the second one.

then you should provide the Primary Name Field for the Titanic dataset, I choose the Name column as the passenger name. also, you may get an error regarding the change the data type to the text and you need to click on the delete rows that no longer in the query ( if you change something in the previous step), then simply click on the Next to load the data.

After loading the data, you need to refresh it, I choose to refresh it manually for the first time and click on the Creat.

Now you need to wait for data be loaded as an entity

NOTE! if you choose a binary classification, your column to predict should be in True and False format.

next, the data should be loaded and you should see a load status change to complete. otherwise, you need to back and check the data.

Now, you should see the data you loaded as a new entity in the Entity List.

 

AI Builder

 

Now we have data, need to create the model.

if you create the environment correctly, you should see the AI Builder in the left menu, click on the AI Builder and Build option.

Now the main page for the election of the AI model will be shown, For this scenario, we are going to choose the Binary Classification for prediction.

again be sure the column you are going to predict be in TRUE/FALSE format.

put a proper name for your model and click on the Create

Now the main process of creating the model will start.

The first step is to select which dataset need to select for training the model and what column you are going to predict.

Then, you need to choose which column of the dataset you need to be selected for training. In this example, I choose all of them which is not at all best practice but we will see how to back and change it.

 

Click on the next bottom and then, review what you have, if needed back and change the columns and if you happy click on the Train.

 

 

so you will see below message till the model trained

finally, you need to see the message like :

now I saw the below message, as you can see you able to check the overall accuracy, there is a training report and you able to create a New  Version of this with different data, moreover in the left pannel we are not anymore in the Build section but in the Models one.

 

Click on the View detail in the previous page, to see the influence report.

This report shows which column has more impact on the survival of people from the Titanic ship. Also, make sure to choose the one that has made sense from a business perspective,

Name of people does not impact, also Fair and PCLASS is the same thing.

 

 

I select the Age and Pclass only. If you click on the training report, my dataset has less than 1000 rows so the report does not show here as you can see in the below picture.

At this time, to create a new training model, you need to click on New Version

This returns you to the main training page.

 

Now you able to select the column you want from the list.

and click on the Next to train it again.

after all experiment, now you able to publish your model to be used in a Model-driven application.

In next post I will explain how to show the results

Facebooktwitterlinkedinrssyoutube

The post AI Builder: AI Embedded in Power Apps- Part 2 appeared first on RADACAD.

Follow Source

The post AI Builder: AI Embedded in Power Apps- Part 2 appeared first on Microsoft Dynamics 365 Blog.

]]>
4392