Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
beristardj
Creator
Creator

Field to Expression

Buenas Noches:

Por motivos particulares del reporte se requiere que en la vista del mismo aparezca una tabla en un orden y estructura particular.

Sin embargo en esta tabla van datos que no estan muy relacionados entre si.

Una solucion parcial es agregar objetos de texto mostrando el valor y apilados uno a uno muestran la tabla o simulan una tabla, situacion que no es muy comoda al momento de dar mantenimientos.

Hay alguna forma de evaluar o ejecutar una formula previamente contenida en un campo:

Hacer algo como $( variable) pero que sea como $(field), por el numero de combinaciones que se harían, además de las 31 variables ya cargadas que me resuelven más de 100 combinaciones.

Estaba probando con la función evaluate(), pero esta no funciona en expresiones de grafico, y en tabla simple no se puede agregar.

Para ello se tomaría como plantilla una hoja de Excel conteniendo la respectiva formula en la respectiva posición de la celda, en mantenimientos o ajustes futuros este reporte se aplicarían.

Ya esta la plantilla, ya estan las funciones y expresiones, asi como la posicion que tomarian en la tabla, pero no puedo evaluar en forma de expresion el campo contenido.

Ya probé con :
primerformula *1
= (primerformula)*1
'=' & primerformula
aggr(segundaformula,SALDO_TOTAL)
=only($(primeraformula))

Entre otras, pero no me trae la cadena de expresión ya evaluada

Alguna propuesta, solucion o de plano la mejor solucion fue poner celda por celda.

Agradeciendo de antemano el apoyo les envio un cordial saludo desde la Ciudad de Mexico.

--------------------------------------------------------------------------------------------------------------

Good Nights:

Report for particular reasons required in the light of the emergence of a table in a particular order and structure.

However, in this table are data that are not very related.

A partial solution is to add text objects to show the value and stacked one to one shown in the table or simulate a table, a situation which is not very comfortable at the time of servicing.

Is there any way to evaluate or enforce a formula previously contained in a field:

Do something like $ (variable) but that's like $ (field), by the number of combinations that would, in addition to the 31 variables loaded and I resolved more than 100 combinations.

I was testing the function evaluate (), but this does not work in terms of graphics, and simple table can not be added.

To do so would be taken as an Excel spreadsheet template containing the respective formula in the respective position of the cell, maintenance or adjustments in future this report would apply.

Since this template, and are the functions and expressions, as well as the position they would take in the table, but I can not evaluate expression as the field content.

I tried already:
primerformula * 1
= (primerformula) * 1
'=' & primerformula
aggr (segundaformula, SALDO_TOTAL)
= at ($ (primeraformula))

Among other things, but I do not bring chain expression and evaluated


Any proposed solution or plan the best solution was to put cell by cell.

Thanking you in advance the support I send a cordial greeting from Mexico City.

2 Replies
brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi, Cesar,

can you please upload a small example?

beristardj
Creator
Creator
Author

Muchas gracias Martina por su tiempo para este tema, sin embargo, por lo revisado no es posible hacer esta variedad.

Inclusive trate de usar la funcion above() en combinacion con column() pero sin resultados positvos.

Dentro de la solucion se opto por algunos artificios, pero que al momento sirvieron.

En cada columna se uso la funcion pick(RowNo(TOTAL), Renglon 1, Renglon 2, Renglon 3 , ... , Renglon n )

En cada renglon se pone la expresion que quieran, por muy independiente o diferente de las otras celdas y posiciones, cumple con lo que originalmente queria, lo comparto en espera sea de utilidad.

La unica desventaja es que no seria una tabla tan dinamica, pero originalmente las celdas apiladas dan el mismo resultado, ademas es bastante funcional cuando esto se quiere exportar a excell.

Agradeciendo nuevamante su tiempo para atender esta lectura quedo a sus ordenes...

-------------------------------------------------------------
Thank you very much Martina for used their time to this issue, however, it is not possible to review this variety.

Even try using the function Above () in combination with column () but no positve results.

In the solution we opted for some fireworks, but when served.

In each column, use the function pick (RowNo (TOTAL), Row 1, Row 2, Row 3, ..., Row n)

In each row you put the expression you want, no matter how independent or different from other cells and positions, do what it originally wanted, I share in hopes it useful.

The only disadvantage is that a table would not be as dynamic, but originally stacked cells give the same result is also quite functional when it is to export to excel.

Thanking for you time to attend this reading I am at your service ...