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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

initialize variable and get value "Null" from dataverse

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

Is there anyway that assign a default value when initialize variable but get "Null" from dataverse ?

 

Right now I use condition. I wonder is there any better expression I can use just when initialize variable.

 

George

  • Power Platform Communities Profile Picture
    8 on at
    I found if value is string, I can use expression,
     
    if(empty(A),B,A)
     
    The meaning is: 
    empty(A) >> Get A and see if null
    if null, return B
    if not, return A
     
    If value is integer,
    if(equals(A,'null'),B,A)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 42 Super User 2026 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 39 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 27

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans