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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Hide unneeded rows in qlik view 11

Hello,

I tried here to calculate the forecast accuracy of products expressing in percentage. My aim is to deal with the products that have a bad accuracy ( less than 80%) so i want to let in my chart only the product that they have a bad accuracy and do hide finally products with accuracy upper than 80%.

How can I do, please?


Best regards,

Alâa Eddine.capture3.PNG

22 Replies
YoussefBelloum
Champion
Champion

so just click on the attachement, it will download automatically. double click on it on windows, it will open automatically on your qlikview desktop

Anonymous
Not applicable
Author

Hello,

this is what i did but it did not work.

I solve a part of my problem so i send you if you do not mind what i did not understand it.

I want now to hide these rows that contain empty cells in accuracy column.

hidede.PNG

Thank you.

YoussefBelloum
Champion
Champion

ok, just give me your accuracy expression that you're using now

Anonymous
Not applicable
Author

Hello,

thi is the formula:

If ((1- (sum (fabs(aggr(sum ([SalesActualSales])

, SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD,SalesYearMonth) -

aggr(sum ([SalesForecastM-2]), SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD,SalesYearMonth)))/sum(aggr(sum([SalesActualSales]),

SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD,SalesYearMonth ))) < 0

or sum(aggr(sum([SalesActualSales]), SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD

,SalesYearMonth))= 0),null()

,If(1- (sum (fabs(aggr(sum ([SalesActualSales])

, SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD,SalesYearMonth) -

aggr(sum ([SalesForecastM-2]), SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD,SalesYearMonth)))/sum(aggr(sum([SalesActualSales]),

SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD,SalesYearMonth )))<0.8,1- (sum (fabs(aggr(sum ([SalesActualSales]), SalesSubsidiaryCode_CD,

SalesAggregatedBrand_CD,SalesYearMonth)- aggr(sum ([SalesForecastM-2]), SalesSubsidiaryCode_CD, SalesAggregatedBrand_CD,SalesYearMonth)))

/sum(aggr(sum([SalesActualSales]), SalesSubsidiaryCode_CD,

SalesAggregatedBrand_CD,SalesYearMonth ))),null()))

Thanks a lot.

jyothish8807
Master II
Master II

Hi Alaa,

Since you have two dimensions, also one among them is a cyclic filed i have modified the sample a bit.

Hope this will help you. You just have to replace the  "num(sum(Sale)/Sum(Target)" part with your expression.

Br,

KC

Best Regards,
KC
Anonymous
Not applicable
Author

Hello KC,

I do not know where you found this expression: "num(sum(Sale)/Sum(Target)". If it is in your attachment i cannot open it, so please copy and paste the formula that you are talking about in a message to understand you.


Thank you,

Alâa Eddine.

Anonymous
Not applicable
Author

Hello KC,

can you modify my expression so that i can hide the unneeded rows, please?

Thank you,

Alâa Eddine.

jyothish8807
Master II
Master II

Can you share your dimension names ? The fields under cyclic group.

Br,

KC

Best Regards,
KC
jyothish8807
Master II
Master II

Try like this:

Create a variable vVar1 and set your expression under it without "=" sign.

Then modify your dimensions like this:

=aggr(if($(vVar1)>='0.8',null(),YearMon),YearMon)

Br,

KC

Best Regards,
KC
Anonymous
Not applicable
Author

Hello KC,

thank you but i am beginner in Qlik View and i do not know how to create variables. This is a figure that contains my dimensions names.

Capture.PNG Thank you.

Alâa Eddine