Buena tarde.
Amigos tengo esta fórmula que no me funciona bien no me trae los datos que quiero, quiero que me traiga un dato especifico pero que sea con la fecha mas resiente .
MAX(
SELECT(
Registro[SALDO NUEVO],
([_THISROW] = [IDPRODUCTO])
)
)
en la imagen vemos que el dato que debe traer es el 11 el cual tiene la fecha mas actual pero me trae es el 15 no se porque gracias
Hola @OMAR_DANIEL_PRIETO_V
Mira esta expresión:
LOOKUP(
MAX(My Table[_ROWNUMBER]),
“My Table”,
“_ROWNUMBER”,
“Wanted Column”
)
También dale una mirada a este post:
[FAQ: FILTER(), LOOKUP(), MAXROW(), MINROW(), REF_ROWS(), and SELECT()](https://community.appsheet.com/t/faq-filter-lookup-maxrow-minrow-ref-rows-and-select/24216) Tips & Tricks ?
Core concepts & functions Expressions: The Essentials FILTER() List Expressions and Aggregates LOOKUP() MAXROW() MINROW() REF_ROWS() SELECT() What is a Key? Adding & updating rows Is this a new row?/Does this row already exist? What is the previous value of this column? Excel alternatives How do I do COUNTIF() or COUNTIFS()? How do I do SUMIF() or SUMIFS()? How do I do VLOOKUP()? Last row of the spreadsheet How do I get the last row of the spreadsheet? How do I get a column value from…
Espero te sea de ayuda.
1 Like
Hola amigo gracias por responder.
no se como organizar esta expresión
LOOKUP(
MAX(Registro[_ROWNUMBER]),
“Registro”,
“_ROWNUMBER”,
“SALDO NUEVO”
)
si me trae el ultimo dato registrado pero no por producto seleccionado a todos le pone el mismo dato.
la idea es que me traiga el ultimo valor de cada producto y me trae es el dato del ultimo producto ingresado no me filtra por el producto seleccionado
Steve
October 13, 2021, 1:54pm
4
FAQ: FILTER(), LOOKUP(), MAXROW(), MINROW(), REF_ROWS(), and SELECT() Tips & Tricks ?
How do I get a column value from the last row of this thing only? LOOKUP( MAX( SELECT( My Table[_ROWNUMBER], ([_THISROW].[Thing] = [Thing]) ) ), “My Table”, “_ROWNUMBER”, “Wanted Column” ) Replace My Table with the name of the table from which you want the column value; Thing with the name of the column containing a value that identifies the thing you want (e.g., Order ID); and Wanted Column with the name of the column whose value you want. See also: MAX()
1 Like
Gracias amigo si funciono
LOOKUP( MAX( SELECT( Registro[_ROWNUMBER], ([_THISROW].[IDPRODUCTO]= [IDPRODUCTO]) ) ), “Registro”, “_ROWNUMBER”, “SALDO NUEVO” )
2 Likes
Hola @OMAR_DANIEL_PRIETO_V
Me alegro que lo resolvieras.
Creditos a @Steve por su publicación.
1 Like
hola amigos y expertos en appsheet,
tengo una formula en excel que funciona perfectamente
SI.ERROR(BUSCARV(B2;ELEGIR({2\1};Tabla1[UBICACIÓN];Tabla1[CÓDIGO JAVA]);2;0);“”)
sin embargo en la app me esta devolviendo un error VALUE!
IFERROR(VLOOKUP(RC[-6],CHOOSE({2,1},Tabla1[UBICACIÓN],Tabla1[CÓDIGO JAVA]),2,0),“”)
Podeis ayudarme?
Gracias