cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Coalesce

Hi @DavesTechTips 

I'm getting an error using Coalesce with Switch - what is wrong here? (No gallery to show if dropdowncode value is blank)

Coalesce(Switch(DropdownCodes.SelectedText.Value, "La 111_T", TABLELA111T, "La 111", TABLELA111)"",))

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Coalesce

@Englishweb 

I would need more information to supply a helpful answer but some of the values highlighted in red are not the proper syntax for the function Coalesce or Switch

 

This would likely be a valid statement but I have no idea what it does until you supply more context.

Coalesce(
    Switch(
        DropdownCodes.SelectedText.Value,
        "La 111_T",
        TABLELA111T,
        "La 111",
        TABLELA111)
    )
)

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

1 REPLY 1
Highlighted
Super User
Super User

Re: Coalesce

@Englishweb 

I would need more information to supply a helpful answer but some of the values highlighted in red are not the proper syntax for the function Coalesce or Switch

 

This would likely be a valid statement but I have no idea what it does until you supply more context.

Coalesce(
    Switch(
        DropdownCodes.SelectedText.Value,
        "La 111_T",
        TABLELA111T,
        "La 111",
        TABLELA111)
    )
)

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,704)