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: 
joydipp1988
Creator
Creator

Monochrome effect in Pie/Doughnut chart

Dear all,

I was working on different charts to create a monochrome effect. I found this type of charts in the following website- Donut Chart

Please have a look. My question, is it possible to create monochrome effect in Pie/Doughnut chart ? If yes then how ?

I did some work on it. PFA. Same expression worked on Bar chart but not working in Pie chart. Any hep will be appreciated. Thanks in advance.

Monochrome in Pie chart_(Donut Chart).PNG

Regards,

Joy

1 Solution

Accepted Solutions
MarcoWedel

Hi,

maybe one solution could be:

QlikCommunity_Thread_222317_Pic1.JPG

QlikCommunity_Thread_222317_Pic2.JPG

RGB(255,

   (1-(Aggr(Sum(#SalesQuantity),@Product_CategoryName) / Max(TOTAL Aggr(Sum(#SalesQuantity),@Product_CategoryName)))) * 128 +127,

   (1-(Aggr(Sum(#SalesQuantity),@Product_CategoryName) / Max(TOTAL Aggr(Sum(#SalesQuantity),@Product_CategoryName)))) * 255)

see also Different shades of blue based on rank

hope this helps

regards

Marco

View solution in original post

8 Replies
joydipp1988
Creator
Creator
Author

Hello all,

Anyone got time to work on it ? Please let me know.

Regards,

Joy

MarcoWedel

Hi,

maybe one solution could be:

QlikCommunity_Thread_222317_Pic1.JPG

QlikCommunity_Thread_222317_Pic2.JPG

RGB(255,

   (1-(Aggr(Sum(#SalesQuantity),@Product_CategoryName) / Max(TOTAL Aggr(Sum(#SalesQuantity),@Product_CategoryName)))) * 128 +127,

   (1-(Aggr(Sum(#SalesQuantity),@Product_CategoryName) / Max(TOTAL Aggr(Sum(#SalesQuantity),@Product_CategoryName)))) * 255)

see also Different shades of blue based on rank

hope this helps

regards

Marco

vinieme12
Champion III
Champion III

You may also want to Lookup Colormix! In Qlikview!

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
joydipp1988
Creator
Creator
Author

Hi @Marco,

This is the solution I was looking for. Thanks for the solution. Its neat and clean and easy to understand. Thanks again.

Regards,

Joy

MarcoWedel

you're welcome

glad it worked for you.

regards

Marco

joydipp1988
Creator
Creator
Author

Hello vinieme12

Can you provide the solution by using lookup Colormix in my app ? It will be helpful to understand the technique...

Regards,

Joy

vinieme12
Champion III
Champion III

Please see attached, and screenshot of steps, You can also find this on Qlikview Help!

colormixsample.JPG

Steps

colormixsteps1.png

colormixsteps2.png

Colormix will write the expression for you, just click OK and Apply.

Hope this helps

Cheers

V

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
joydipp1988
Creator
Creator
Author

Hi vinieme12‌,

This is excellent solution. Thanks for the contribution.

Regards,

Joy