Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

If statement in default datacard

Screenshot 2021-05-14 102932.jpg

I am having trouble with the syntax of a default datacard. The combobox and beyond part works. When I just put Submitted in as the default along with the rest it shows submitted and the combobox value in a gallery label. I only want it to say submitted if status is blank and right now is combining them. How can I get the combobox to override the Submitted value? The datacard15 overides the combobox just with the last if statement. So when the status is empty I want it to say submitted when it is changed with a combobox I want that to be overwritten and just show the combobox value then I want it to be overwritten again when there is a value in datacard15.

Resolver II
Resolver II

Hi @powerapps890 ,


Could you use the Coalesce function?
So something like:
Coalesce(DataCardValue16.Text, "Submitted")

It says it is creating a circular reference. @Liam_Chapman Just the word Submitted works but it doesn't overwrite the combobox @Liam_Chapman 

Helpful resources

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,195)