Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display values on a scatter chart without aggregating and hard-coded filter

Doubt 1 :In the attached qvw, I created a qvw. Here I want to display the dots at each record, that is one dot for one record. I have used the dimension as bmc_desc, so

the final dots are aggregated at the bmc level. I have used expressions as sum(incremental_sales) and sum(imcremental profit), but I want to show the

incremental sales and incremental_profit of each dot. But nothing is displayed when I use just "incremental_sales" as the expression.

Please suggest how to display dots at each record level and then all records belonging to a single bmc have one color.

data_contextsub_category_codesub_category_descfamily_codeweek_idweek_numpromo_salesbaseline_salesincremental_salesincremental_profitdiscountavg_nbr_of_basketsbaseline_nbr_of_basketsbasket_size_impactincremental_trafficnet_basket_impactquadrantweekly_amtbmc_descavg_basket_sizebaseline_basket_sizebrandvendor_namepromo_codepromo_start_datepromo_end_datesupplementpresstvradiosmart_shopperinstore


























































0
-Super-AllG120201RICE118522011464618788.7916913.97-468.747-2595.420.243324301223.8628-155.8777.1371912562.2648079.1KIDS CEREALS615.2133771.083637KELLOGG'S       Kellogg Company SA (Pty) LtdNULL00:00.000:00.0100
I-Super-AllG120201RICE118522011474715233.5515495.99-2162.55-3633.040.243466246.6667210.244-84.94136.422675856.34946550.45KIDS CEREALS651.0967736.037626KELLOGG'S       Kellogg Company SA (Pty) LtdNULL00:00.000:00.0100

Doubt 2 : Is there a way to hard-code the filter. For example in the qvw attached, you can see a filter DAta context which has three values. Is there a way to remove that list box and by default set the filter condition to All


22 Replies
Not applicable
Author

May be this would help. Check out the expression background and set analysis for your questions respectively.

Regards,

Kiran Rokkam.

Included attachment

Not applicable
Author

HI Kiran,

Thanks fr the reply.

CAn you please explain the process?

Why did you add so many dimensions? Can you please take me through it

Not applicable
Author

Also, can you help me on the second question(doubt)??

Not applicable
Author

If you expand the expressions you can see background color options. You can use them to specify the color of the bubbles.

Regards,

Kiran Rokkam.

Not applicable
Author

I added these dimensions as you wanted a bubble for each record. Keep only the ones you need (just to show how it works).

Regards,

Kiran Rokkam.

Not applicable
Author

Hi Kiran,

All-AllG120201COOKING OILS11852201146465881.715507.957-359.885-1355.8202860.00021483.6666775.79664-17.35067.8700294022.52444603.746KIDS CEREALS678.2233695.573884KELLOGG'S       Kellogg Company SA (Pty) LtdNULL00:00.000:00.0100000
All-AllG120201COOKING OILS11852201147475135.245313.199-818.488-2043.1658730.00012570.3333376.98693-29.1778-6.653596-6619.8544019.443KIDS CEREALS657.32686.497823KELLOGG'S       Kellogg Company SA (Pty) LtdNULL00:00.000:00.0100000
All-AllG120201COOKING OILS11852201148486221.067750.665-2305.57-1550.7182390.00010889117.8203-96.1857-28.820294-38086.744869.376KIDS CEREALS928.30671024.49234KELLOGG'S       Kellogg Company SA (Pty) LtdNULL00:00.000:00.0100000

Here in this qvw, in the expression I gave sum({<data_context={"All-All"}>}incremental_sales)

So that it will select only All-All records and it indeed does select those records for which datacontext = All-All. But when you click cooking oils, you can see two dots : family and kids cereals. I went to the data source and found two bmc_desc : kids cereals and family. The above are the three records I found for kids cereals, but on the chart I am able to plot only one dot. As per the requirement I want three dots one for each of the above.

I think it is showing only one dot because we are using sum in the expression and hence it is aggregating the results. Is there a way to show all the records. Also, what is the exact purpose of dimensions?

thanks!

Not applicable
Author

Uday,

The no. of dots depends on the no. of distict values combinations of the dimension. For the selections made the dimensions (bmc_desc, sub_category_code and sub_category_desc) has only two distinct combinations (you can check that by adding these three fields into a table box). Add necessary dimensions to increase the dots. ( Personally i dont recommed this).

Regards,

Kiran Rokkam.

Not applicable
Author


So in a way, if we give the unique of tat table as dimensions then we ll get the unique rows.

Am I right?

Not applicable
Author

Yes. So clarify the business requirements and start with QVW. One more recommendation is alias fields name so that users can understand them. Keep only the necessary fields and remove the rest (its saves lot of time) as its easy to add fields anytime.

Kiran.