Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
mhmmd_srf
Creator II
Creator II

Legend is Not Visible

Hi All,

I have one chart Dollar by Period. I have one Linear also in the chart.Which I have implemented with Trendline section.

But I am not able to enable Legend for those.

I am attaching my sample App.

Could you please help on this.

Thanks,

Sarif

1 Solution

Accepted Solutions
Frank_Hartmann
Master II
Master II

press ctrl+shift and drag the red line downwards:

Aufnahme_2017_06_19_13_17_30_947.gif

View solution in original post

14 Replies
prat1507
Specialist
Specialist

Hi

PFA the app.

Regards
Pratyush !

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

The Legend will be enabled when you have more than one expression or dimension. It will not enabled when you have one dimension and one expression.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Anil_Babu_Samineni

OR, You can use expression for 2nd one rather than Enable option called Linear for your 1st expression

linest_m(total aggr(CstFiscalPeriod,CstFiscalPeriod), CstFiscalPeriod)*CstFiscalPeriod + linest_b(total aggr(CstFiscalPeriod,CstFiscalPeriod),CstFiscalPeriod)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
mhmmd_srf
Creator II
Creator II
Author

Ok..this is new learning for me. Thanks a lot dear.

But How to make Legend for Linear?

I want a legend for Linear like:

Total Dollar (Linear).

Please help on this.

Thanks,

Sarif

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

You can use the example given by prat1507

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
mhmmd_srf
Creator II
Creator II
Author

Hi Anil,

This is not showing correct result. It is showing a Straight Line on 0 value.

mhmmd_srf
Creator II
Creator II
Author

Hi Pratyush,

I got this. But what to do on Liner? I want a Legend on Linear also with Different Color.

Please help.

Thanks,

Sarif

Frank_Hartmann
Master II
Master II

try this expression:

linest_m(total aggr(sum(ActualDollars),CstFiscalPeriod), CstFiscalPeriod)*CstFiscalPeriod + linest_b(total aggr(sum(ActualDollars),CstFiscalPeriod),CstFiscalPeriod)

hope this helps

Anil_Babu_Samineni

May be this?

=linest_m(total aggr(sum(ActualDollars),CstFiscalPeriod),CstFiscalPeriod) * CstFiscalPeriod + linest_b(total aggr(sum(ActualDollars),CstFiscalPeriod),CstFiscalPeriod)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful