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

Bar will come after Quarter completed

Dear All,

I have one chart with one dimension in that all data is showing perfectly but my requirement in below chart I want to display Q3 bar after it completed means after 31-Dec-15 .

I don't want to display bar for Q3.

PFA..

Thanks

1 Solution

Accepted Solutions
tresesco
MVP
MVP

There could be many solutions. One is using calculated dimension like:

Aggr(If(Count(Distinct Date)=3,QuarterYear),QuarterYear)

PFA

View solution in original post

13 Replies
tresesco
MVP
MVP

Not very clear!

Could you post a sample screenshot how the output should look like?

prma7799
Master III
Master III
Author

Hi Tresesco,

I don't want bar for Q3  for time being because Q3 is not completed yet. It should display but after 31th  December month sales happens.

So I want completed Quarter ...

Q4 Should display on 1st April 2016

PFA I don't want highlighted  bar

aa.png

sundarakumar
Specialist II
Specialist II

you can try something like

1. Create a master calendar

2. add a  quarter_end_flag in the master calendar, with the help of it do a resident load of qurater that have a quarter_end_flag

3. use this field in as chart dimension.

-Sundar

Not applicable

Hi PFA,

Try to use a flag to control the display of your dimension and expression. Please see attached the flag that I have added to your graph properties tabs:

  • Dimension
  • Expressions
  • Sort

Kind Regards,

Arohan

tresesco
MVP
MVP

There could be many solutions. One is using calculated dimension like:

Aggr(If(Count(Distinct Date)=3,QuarterYear),QuarterYear)

PFA

Kushal_Chawda

Put below calculated dimension & check Suppress when value is null

=aggr(if( monthname(max(Date))=monthname(QuarterEnd(max(Date))),QuarterYear),QuarterYear)

prma7799
Master III
Master III
Author

Hi All,

Can anyone tell me same for Months I want bar for completed months.

Dim: MonthYear

PFA I don't want highlighted  bar


aa.png

Not applicable

I'd use this as a formula for the dimension and expression

if(MonthEnd<Today(),MonthYear)

Kushal_Chawda

try this

=aggr(if( monthname(max(Date))=monthname(MonthEnd(max(Date))),MonthYear),MonthYear)