Using ChatGPT for Understanding PowerApp Complex Formulas, Documenting and Creating code
With everyone taking about ChatGPT, I got excited and started working with it by just setting up an account and explored few command dialogues to see how can i utilize ChatGPT for Solution Documentation and Understanding complex functions/formulas in PowerApps.
My 1st take on this tool was to get more understanding from what we have already coded for and to decorate the code with comments. Yes, Comments which even 5th grader can understand. ChatGPT write detailed comments and all i did was take the output and added into my code.
The command I used for ChatGPT “Please write Power Apps code comments for the following code”.
If(Checkbox1.Value=true,Search(c_alltenants,txtSearchTenantbyName.Text,"Name","StatementCID"),Search(Filter(c_alltenants,Active="True"),txtSearchTenantbyName.Text,"Name","StatementCID"))
It Generated Output
The command I used for ChatGPT “Please explain following Power apps Code”.
Sort(Filter(c_payments,Status="Paid" && TenantID = G_Tenants.Selected.TenantID),Text(DateTimeValue(TxDate), "yyyy-mm-dd"),Descending)
It Generated Output
Impressive right? My brain got triggred by this inteaction and next what I asked the ChatGPT is to write me the code.. Hahaha.. Yes Code...
The command I used for ChatGPT ... Can you write me Power Apps Code for updating collection column salary = Salary +1000 when value of the employee department is "IT" .
It Generated Output
Well, I will let your imagination push ChatGPT for next steps of your challenge in solving customer problem and to optimize, refactor and decorate your solutions for customer and provide fast track solution delivery.
Hope your enjoyed this reading...
Director - Technical Solutions, MERP Systems Inc.
2 年ChatGPT is amazing and creative. It is going to enable businesses to use artificial intelligence to automate processes.
Databricks Developer@ ICE | Pyspark, Databricks, Azure Data Factory, Snowflake, Data Modelling, Microsoft Copilot
2 年Thanks Hemendra