Using ChatGPT for Understanding PowerApp Complex Formulas, Documenting and Creating code

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

No alt text provided for this image
ChatGPT - Document my PowerApp Code

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

No alt text provided for this image
ChatGPT - Explain me

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

No alt text provided for this image
ChatGPT - Code for Me

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...

Gopakumar Velukkutty Ph.D.

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.

回复
Arabinda Pani

Databricks Developer@ ICE | Pyspark, Databricks, Azure Data Factory, Snowflake, Data Modelling, Microsoft Copilot

2 年

Thanks Hemendra

回复

要查看或添加评论,请登录

Hemendra Patel的更多文章

社区洞察

其他会员也浏览了