cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Need help writing formula

Hi,

 

I've built a gallery with a mix of inputs to replicate a sharepoint list.

 

For one of those inputs, I'm trying to write a formula like this in the "items" property:

 

If(IsBlank(Dropdown1.Selected), SortByColumns(CaseOrigin, "Title", Ascending), ThisItem.'Case Origin')

 

My intention is that the dropdown have various choices from another SP list if the field is blank but if it already has a selected option then that value should be that value.

 

I'm getting the following error in my studio:

DanielRK_2-1611038986737.png

 

DanielRK_0-1611038948603.pngDanielRK_1-1611038961816.png

Please guide me to understand what I'm doing wrong. Thank you.

 

Regards,

 

Daniel

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous 

 

Gallery expects a table type value in the Items property, which I am guessing ThisItem.'Case Origin' is not.

 

Can you share more details about the structure of your application so that we will be able to help you better.

 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2

Hi @Anonymous 

 

Gallery expects a table type value in the Items property, which I am guessing ThisItem.'Case Origin' is not.

 

Can you share more details about the structure of your application so that we will be able to help you better.

 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Anonymous
Not applicable

Hi Yashag,

 

Thanks for your help. This helped me a lot!

 

Regards,

 

Daniel

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,904)