Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
cristian_av
Creator III
Creator III

Bar-Line Graph with two expressions and two Dimensions

Hi

I want to join this Two graphs in one. How can I do this?

All the data is in one table, and three fields. ie:

CantidadEPCorregidoSistema Origen UnidoEP
23Consumo RealEP1
35Consumo RealEP2
40Tramo 1EP2
.........

First Graph:

=Sum({¨<[Sistema Origen Unido]={'Consumo Real'}>} CantidadEPCorregido)


Second Graph:

=Sum(CantidadEPCorregido)

If I puth this Two Expressions in one graph, I get the third graph, which loses one of its dimensions.

¿Any idea how to solve this?

Thanks!!

qlikborrar.png

qlikborrar33.png

3 Replies
swuehl
MVP
MVP

Just to understand, your first graph shows a subset of the second, so why do you want to combine both expressions, since there will not be additional information, or am I missing something?

Which dimensions are you using in your charts? Could you upload a small sample QVW and your expected result (e.g. as excel file or sketch drawing?

swuehl
MVP
MVP

Do you maybe want to show the line for Consumo Real regardless of selections in that field? But also lines for the other possible field values?

Then try your two dimensions and a single expression:

=Sum({¨<[Sistema Origen Unido] += {'Consumo Real'}>} CantidadEPCorregido)

Not applicable

You should try to split the Y axis - primary axis and secondary axis