cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sandero
Frequent Visitor

If column value is not existing take a other column value

Hello,

 

I wanne get value in one column ("welke van de twee") if a other column the value doesn't exist. (See the pic)

So IF there no value in column "Vastellen" then take the column value of "Verlenen". But now he give only the value of column "Vastellen" . What do I'm wrong? is this the way or a other way?

 

I need this because after this I wanne groupby it and sum it so. (To send it to excel with a Power Automate flow)

Then I get title with a total sum of "Vastellen" and if not exiting then "Verlening" value

 

add if fout.jpg

I hope some know the solution?

 

Sander

 




 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @sandero ,

Try IsBlank() - I assume this is a single line of Text field

AddColumns(
   CollVastelling;
   "Optelling"; 
   If(
      IsBlank(VastellingTotaalMaatregel); 
      VerleningTotaalMaatregel;
      VastellingTotaalMaatregel
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User III
Super User III

Hi @sandero ,

Try IsBlank() - I assume this is a single line of Text field

AddColumns(
   CollVastelling;
   "Optelling"; 
   If(
      IsBlank(VastellingTotaalMaatregel); 
      VerleningTotaalMaatregel;
      VastellingTotaalMaatregel
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

sandero
Frequent Visitor

@WarrenBelz 

 

Thanks for the answer. It works 😊

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (30,854)