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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Empty lookup - Add new...
Power Automate
Answered

Empty lookup - Add new row dataverse

(1) ShareShare
ReportReport
Posted on by 32

Hey, not had much luck with this discussion group but lets see. 

 

I have a lookup column that i am patching with 'Add new row' with dataverse. 

I am doing this : 

 

JasonHoffoLeic_0-1671468735416.png

And this works - so i have the table name and a variable which holds the guid. 

 

If the guid is empty then i just want to patch NOTHING 

 

So I have looked at 

 

if(empty(item()?['InvoiceRecipient.DisplayName']),null,item()?['InvoiceRecipient.DisplayName'])

 

Then works in my example variable but as i want to add the exact command if it is NOT NULL then I am struggling as this causing an error : 

 

if(contains(outputs('Compose'),null),"",/avg_uwproducttables({outputs('Compose')}))
/avg_uwproducttables(@{outputs('Compose')})

 

and i guess it is becasue the /avg_uwproducttables is in the column (so to speak) and not in a formula 

as my screenshot highlights 

 

So how can i make this IF statement partly as an expression and partly as text in the field ? As per my screenshot. 

 

Any help would be amazing... 

 

Thanks alot guys and gals 

Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Not sure why you have the contains function but Try concatenation,

    SudeepGhatakNZ_0-1671484233368.png

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard