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

Changing the color of month in a bar graph

    123456789.png

I want the months of october and november to be displayed in different colors other than green. Please can anyone help how to do that.

Thanks,

Gaurav

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi Gaurav,

Check attached file, hope it helps you.

Regards,

Jagan.

View solution in original post

7 Replies
Not applicable
Author

Right click --- go to properties and under colors tab you can change the colors of the bar.

paint.png

Not applicable
Author

I know, I want the expression which changes the color of forecast for the month of October and November.

The expression I figured only changes the color when I select those two months but in the default state all of them have same color.

jagan
Luminary Alumni
Luminary Alumni

Hi Gaurav,

Check attached file, hope it helps you.

Regards,

Jagan.

Not applicable
Author

Thanks a ton bro thats what I was looking for

its_anandrjs

Hi,

In Expression tab by click on plus sign in Background Color write script

if(MonthField = 'october' or MonthField = 'november' , Blue( ),Yellow( ) )

Regards,

Anand

Not applicable
Author

I have a formula can u tell me what wrong am I doing in it

sum({1<mSeg={'Total'},mMonth={'$(=only(mMonth))'},mYear={'$(=only(mYear))'}>} mRev.)

It works if I have only two list boxes

sum({1<mSeg={'Total'},mMonth={'$(=only(mMonth))'}>} m Rev.)  Working

but when I have more list boxes it dont

I want to fix the sum to one field of a list box and I want it to change w.r.t other parameters

Can u help Please.

Thanks

Gaurav Tyagi

Not applicable
Author

Thanx bro yup I am using that formula