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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,828)