In the previous blog part, we have seen how to connect to any data source in Power Apps and perform CRUD operations using SharePoint List as an example.
In this blog, let’s see how to read the data from any data source in Power Apps.
Reading Data from Data Sources in Canvas Apps:
In the already provided Blank Screen in Power Apps:
Note: The labels will be blank for you as you don’t have any records in your data source
ID: “ID: ” & ThisItem.ID Name: ThisItem.Name //Single line of text Column Age: ThisItem.Age //Number Column Description: ThisItem.Description //Multiple lines of text Column IsPass: ThisItem.IsPass //Yes/No column Fees: “₹ ” & ThisItem.Fees //Currency Column Favourite Website: ThisItem.’Favourite Website’ //Hyperlink column Date of Birth: Text(ThisItem.’Date of Birth’, “dd/mm/yyyy”) //Date Column Grade: ThisItem.Grade.Value //Choice column Favourite Subject: ThisItem.’Favourite Subject’.Value //LookUp Column - Single Value Favourite Book Genre: // Choice Column- CheckBoxes If( IsBlank(ThisItem.'Favourite Book Genre') || IsEmpty(ThisItem.'Favourite Book Genre'), "", Left( Concat( ThisItem.'Favourite Book Genre', Value & ", " ), Len( Concat( ThisItem.'Favourite Book Genre', Value & ", " ) ) - 2 ) ) //Left(string,len(string)-2) -- to remove the last comma and a space. Likes To PLay Which Games?: //LookUp - Multiple Values If( IsBlank(ThisItem.'Likes To PLay Which Games?') || IsEmpty(ThisItem.'Likes To PLay Which Games?'), "", Left( Concat( ThisItem.'Likes To PLay Which Games?', Value & ", " ), Len( Concat( ThisItem.'Likes To PLay Which Games?', Value & ", " ) ) - 2 ) ) //Left(string,len(string)-2) -- to remove the last comma and a space.
Hereby, we have shown how to read data from columns from all possible data types. Also, we demonstrated how to
fetch the data which is stored in comma-separated format. Thereby, now we have covered almost every possible use
case which one faces frequently to read data from any data source.
ATM Inspection PowerApp to ease ATM inspection and report generation process.
https://www.inkeysolutions.com/microsoft-power-platform/power-app/atm-inspection
Insert data into Many-to-Many relationship in Dynamics CRM very easily & quickly, using the Drag and drop listbox.
http://www.inkeysolutions.com/what-we-do/dynamicscrmaddons/drag-and-drop-listbox
Comply your Lead, Contact, and User entities of D365 CRM with GDPR compliance using the GDPR add-on.
https://www.inkeysolutions.com/microsoft-dynamics-365/dynamicscrmaddons/gdpr
Create a personal / system view in Dynamics CRM with all the fields on the form/s which you select for a particular entity using the View Creator.
http://www.inkeysolutions.com/what-we-do/dynamicscrmaddons/view-creator
© All Rights Reserved. Inkey IT Solutions Pvt. Ltd. 2024
[…] Check out the next part here! […]
[…] the previous 2 blogs of Performing CRUD Operations in Power Apps using any Data Source (part 1 and part 2), we have shown what data source we are using, Data Model View, how to connect to any data source […]