cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rbalza
Helper IV
Helper IV

Filter (Showing on input filed)

Hi everyone, I am new to using power apps and I would say, it is awesome! I am trying to show text on the input field when multiple filters have been applied. I am using lists as a data source and  the standard invoice description has a predefined text to it. Could someone help me out on this, please? Code for each filter below.

 

Job Category Filter

 

Distinct('Source','Job Category')

 

Entity Type

 

Distinct(Filter('Source','Job Category'=DataCardValue31.Selected.Result),'Entity Type')

 

Job Type

 

Distinct(Filter('Source','Job Category'=DataCardValue31.Selected.Result && 'Entity Type'=DataCardValue39.Selected.Result),'Job Type')

 

rbalza_1-1629337120918.png

Sharepoint list as data source

rbalza_0-1629338897327.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Ah, I think you are trying to look up that Standard Invoice description from the list that corresponds to the selected Job Category, Entity Type, and Job Type, right?

 

If so, try putting the following into the Default property of that field:

LookUp('Source',
    DataCardValue31.Selected.Result in 'Job Category' &&
    DataCardValue39.Selected.Result in 'Entity Type' &&
    DataCardValue40.Selected.Result in 'Job Type',
    'Standard Invoice Description'
)

That will put the standard contents in there to start, which can be edited before the form is submitted.

 

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
BCLS776
Super User
Super User

It sounds to me like you want to combine the selections from the three dropdowns to fill the label, right?

 

Assuming they are dropdowns (comboboxes behave differently), try the following code in the Text property of the label:

DataCardValue31.Selected.Result && " " && DataCardValue39.Selected.Result && " " && DataCardValue40.Selected.Result

Not sure about the control name for the third dropdown, so edit that as necessary.

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Hi BCLS776, thanks for taking the time on this. Sorry for not explaining it well. There was pre-define text on the standard invoice description column coming from datasource (SharePoint list). Instead of making it like a dropdown, I wanted to be in an input field or even a text field. These dropdowns were not actually dropdown buttons instead it is a single text in which I changed the type into allowed values (not sure what is the difference between the two though).

rbalza_0-1629338702257.png

 

Ah, I think you are trying to look up that Standard Invoice description from the list that corresponds to the selected Job Category, Entity Type, and Job Type, right?

 

If so, try putting the following into the Default property of that field:

LookUp('Source',
    DataCardValue31.Selected.Result in 'Job Category' &&
    DataCardValue39.Selected.Result in 'Entity Type' &&
    DataCardValue40.Selected.Result in 'Job Type',
    'Standard Invoice Description'
)

That will put the standard contents in there to start, which can be edited before the form is submitted.

 

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

You are a gift from above 🙂 Thanks for the solution! By chance, do you have a tutorial that you've wanted to promote? As I would definitely support it!

Glad to hear that helped! I have no online tutorials to share at this point; I'm simply giving some of my time to a community that has helped me out with my Power Apps glitches. I hope you'll do the same as your knowledge grows.

 

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

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 (2,149)