cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
alexaristide
Level: Powered On

Search with filters

Hello, I am trying to find the last value of a column (Numero), wich is in the "Clase" category...., then I write the following instruction:

    Last(SortByColumns(Filter(Ingresos;Clase="Convencional");"Numero"))

table: Ingresos,

Clase is a text type column

Numero is a number type column

 

 

the error message says:  A text value is expected...

 

Does somebody know how to do it?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Level 10

Re: Search with filters

Hi @alexaristide 

 

Looks like your are trying to show the data

 

 Last(SortByColumns(Filter(Ingresos;Clase="Convencional");"Numero"))

will return a Record

 

so do 

 Last(SortByColumns(Filter(Ingresos;Clase="Convencional");"Numero")).ColumnName

 

where columnname is the data you need

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

2 REPLIES 2
RezaDorrani
Level 10

Re: Search with filters

Hi @alexaristide 

 

Looks like your are trying to show the data

 

 Last(SortByColumns(Filter(Ingresos;Clase="Convencional");"Numero"))

will return a Record

 

so do 

 Last(SortByColumns(Filter(Ingresos;Clase="Convencional");"Numero")).ColumnName

 

where columnname is the data you need

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

alexaristide
Level: Powered On

Re: Search with filters

yes, your contribution was successful

Thank you

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 215 members 2,978 guests
Please welcome our newest community members: