Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

When dataverse row is added , add row into excel

(0) ShareShare
ReportReport
Posted on by 347

hi ,

 

have flow setup when dataverse row is added , add row into excel. 

I have drop down with choice in my power app form and these value are showing as numbers in the excel sheet, not text. 

I have a date picker also, which is not showing.

KT61_0-1678392579857.png

KT61_1-1678392607756.png

KT61_2-1678392623666.pngKT61_3-1678392647902.pngKT61_4-1678392664434.png

 

  • v-jefferni Profile Picture
    on at
    Re: When dataverse row is added , add row into excel

    Hi @KT61 ,

     

    You just need to replace 'Date' with you own column name then set the expression for the corresponding field.

     

    Best regards,

  • KT61 Profile Picture
    347 on at
    Re: When dataverse row is added , add row into excel

    Thanks, for the converting time formula, where do I put this in my flow? or do I create a manual trigger flow like in the blog, but then where do I put it?

  • v-jefferni Profile Picture
    on at
    Re: When dataverse row is added , add row into excel

    Hi @KT61 ,

     

    To populate Date columns of Excel table using date time values from dataverse, please refer to below blog:

    Power Automate: Convert Date to Excel Number - Manuel T. Gomes (manueltgomes.com)

    add(div(sub(ticks(triggerBody()['date']),ticks('1900-01-01T00:00:00Z')),864000000000),1)

     

    Best regards,

  • KT61 Profile Picture
    347 on at
    Re: When dataverse row is added , add row into excel

    Thanks, was looking in the wrong place. got the choice sorted, now to try the time.

  • v-jefferni Profile Picture
    on at
    Re: When dataverse row is added , add row into excel

    Hi @KT61 ,

     

    You need to check outputs of the trigger instead of this action. 

     

    Best regards,

  • KT61 Profile Picture
    347 on at
    Re: When dataverse row is added , add row into excel

    Unfortunately, still the same 

     

    KT61_0-1678796871207.png

    KT61_0-1678800717583.png

     

  • v-jefferni Profile Picture
    on at
    Re: When dataverse row is added , add row into excel

    Hi @KT61 ,

     

    Please check in run history and see outputs of the trigger, you can find the exact name of where the choice value comes from.

    vjefferni_0-1678760007210.png

    vjefferni_2-1678760057784.png

     

    The expression on my end is

    triggerOutputs()?['body/_crba2_type_label']

    change it based on the name on your end.

     

    Best regards,

  • KT61 Profile Picture
    347 on at
    Re: When dataverse row is added , add row into excel

    Hi, thanks.

     

    Showing blank now in excel sheet when I add the expression, any ideas please? Or do I have something wrong

    KT61_0-1678740625135.png

    KT61_1-1678740667886.png

     

     

     

  • v-jefferni Profile Picture
    on at
    Re: When dataverse row is added , add row into excel

    Hi @KT61 ,

     

    Sorry I was using a wrong symbol in the expression.

     

    triggerOutputs()?['body/Area@OData.Community.Display.V1.FormattedValue']

     

    or

     

    triggerOutputs()?['body/Area_label']

     

     

    Best regards,

  • KT61 Profile Picture
    347 on at
    Re: When dataverse row is added , add row into excel

    Thanks for the reply, getting the following error, 

    KT61_0-1678479081041.png

    Do I need to delete "Task Category"? and add into brackets? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow