cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tono_Analyst2
Helper I
Helper I

Patching a blank to Share Point List number column

How can I patch a blank/null to a number column in SP?

 

I have tried the below but does not work.

 

With({CB_selection :Dropdown.Selected.ID},

Patch(
    SP_List,
    ThisItem,
    {Num_col: If(IsBlank(CB_selection ), Blank(), CB_selection )}
);
1 ACCEPTED SOLUTION

Accepted Solutions
EddieE
Super User
Super User

@Tono_Analyst2 

Try turning this on in Settings

 

EddieE_1-1644975258443.png

 

View solution in original post

4 REPLIES 4
EddieE
Super User
Super User

@Tono_Analyst2 

Try turning this on in Settings

 

EddieE_1-1644975258443.png

 

That worked perfectly, thank you! May I ask what this setting changed, as the description seems to indicate that it provides error details?

@Tono_Analyst2 

No worries, glad it worked.

 

To be honest, I don't think anyone really knows why it works, we just know we need to use it haha.

 

This MS Doc kind of explains what's happening but not really. The basic idea is that any time you are needing to Patch Blank values to a Data Source you will need to turn this feature on, PowerApps then takes care of what you are trying to do.

Tono_Analyst2
Helper I
Helper I

@EddieE okay, thanks again! If it works, it works 🙂

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,147)