Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniboy2019
Contributor II
Contributor II

Totales for dimensión :(

Hello, good afternoon, could someone help me with the following detail. When selecting the dimension of Estación Aguascalientes, it gives me a profit of 1.80 for the month of January, and it is correct, what I need to do is that the same data is maintained when selecting another dimension, for example, Eagle, and that it shows , Aguascalientes utility 1.80 and Aguila Utility 2.40, and what it currently does here is that it gives me other states that are not its total by dimension 😞

 

this is my formula

=Sum(Total <Estacion>
Aggr(
(Sum(CantidadR) / Sum(total CantidadR))
*
((((Avg(PrecioR)-ieps)/UIva+ieps)
-
///Costo Factura
Sum(Aggr(((
(Sum(Costo2) - Sum( ieps ) ) -Sum([UFlete Mexicali-GDL]) ) /UIva)
+
Sum(ieps),Fecha,Estacion, Producto)
)
//////////

-
Aggr(Sum ([UCostoAditivo]), Fecha,Estacion, Producto)
-
(Avg((PrecioR)/UIva))
*
Sum([UImpuestoEstatal]))+Sum (UIncentivoFiscal)), Fch, Estacion, [ProductoID-ProductoID]))

Labels (5)
3 Replies
neerajthakur
Creator III
Creator III

Try this 

Sum(Total {1}<Estacion>
Aggr(
(Sum(CantidadR) / Sum(total CantidadR))
*
((((Avg(PrecioR)-ieps)/UIva+ieps)

Use set modifier 1

Study more about this on QlikSense Documentation Page 

Thanks & Regards,
Please Accepts as Solution if it solves your query.
Daniboy2019
Contributor II
Contributor II
Author

Thank you 🙂 

neerajthakur
Creator III
Creator III

Hi @Daniboy2019 if it helped you please accept it as solution

Thanks & Regards,
Please Accepts as Solution if it solves your query.