web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When dataverse row is ...
Power Automate
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

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @KT61 ,

     

    For the Choices column value, you can use below expression as dynamic content to populate Excel table:

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

    or

    triggerOutputs()?[‘body/Area_label']

     

    For the date time values to populate in Excel Date column, please refer to below blog:

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

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

     

    Best regards,

  • KT61 Profile Picture
    347 on at

    Thanks for the reply, getting the following error, 

    KT61_0-1678479081041.png

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

  • v-jefferni Profile Picture
    on at

    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

    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

    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

    Unfortunately, still the same 

     

    KT61_0-1678796871207.png

    KT61_0-1678800717583.png

     

  • v-jefferni Profile Picture
    on at

    Hi @KT61 ,

     

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

     

    Best regards,

  • KT61 Profile Picture
    347 on at

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

  • v-jefferni Profile Picture
    on at

    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

    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?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard