Skip to main content
Solved

Can we filter/Sorting GI lines by highlighted color

  • December 10, 2020
  • 4 replies
  • 490 views

Forum|alt.badge.img+5
  • Captain II
  • 398 replies

Hello, I wrote a GI for our company to hightlight the lines using the below formula:

 

=IIF([ARTran.Qty]>[INSiteStatus.QtyOnHand],'orange40','default')

 

It works OK. However, you see, we are having 36 pages,

And if the management team would like to view the on hand qty below period usage qty lines,

he have to click 35 times to view all pages.

Is there a way to filter out the lines by the highlight colors?

 

I am thinking out add a new column with value : 

[ARTran.Qty]-[INSiteStatus.QtyOnHand]

However [ARTran.Qty] should by SUM

while [INSiteStatus.QtyOnHand] is by AVG

This column won’t get the expected result.

Any suggestions?

Best answer by porlov

Hey @ray20 

Why don’t you make another column near with formula something like:

=IIF([ARTran.Qty]>[INSiteStatus.QtyOnHand],1,0)

and let your users filter/sort by it? 

And if you still have to use grouping in your GI then I don’t see a problem with using =IIF(SUM([ARTran.Qty])>AVG([INSiteStatus.QtyOnHand]),1,0).

Am I missing something? 

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+5
  • Author
  • Captain II
  • 398 replies
  • December 10, 2020

To who might also interested in this question:
I did not find a way to filter out in GI directly, but I do find a nearly workaround

That is using side panel and report designer to filter the data.

1, you can add a side panel that navigate to a report screen
2, you make the report line visible only when
=Sum( [ARTran.Qty] )> [INSiteStatus.QtyOnHand]

which it looks like

 

But for the workaround, I still have 2 small questions, that I shall raise another questions to seek for help


porlov
Community Manager
  • Community Manager
  • 4 replies
  • Answer
  • December 12, 2020

Hey @ray20 

Why don’t you make another column near with formula something like:

=IIF([ARTran.Qty]>[INSiteStatus.QtyOnHand],1,0)

and let your users filter/sort by it? 

And if you still have to use grouping in your GI then I don’t see a problem with using =IIF(SUM([ARTran.Qty])>AVG([INSiteStatus.QtyOnHand]),1,0).

Am I missing something? 


Forum|alt.badge.img+5
  • Author
  • Captain II
  • 398 replies
  • December 14, 2020
porlov wrote:

Hey @ray20 

Why don’t you make another column near with formula something like:

=IIF([ARTran.Qty]>[INSiteStatus.QtyOnHand],1,0)

and let your users filter/sort by it? 

And if you still have to use grouping in your GI then I don’t see a problem with using =IIF(SUM([ARTran.Qty])>AVG([INSiteStatus.QtyOnHand]),1,0).

Am I missing something? 

@porlov Thank you. It really works. Fantastic.

Previously, I remeber I’ve tried a formual like 
(SUM([ARTran.Qty])-AVG([INSiteStatus.QtyOnHand])

in a new column. and it did not work.
But your formula is really working. Thanks again.


Robert Sternberg
Captain II
Forum|alt.badge.img+7

Just ran into this post.  I am going to do something similar in a GI and to continue with the example above I will use something like…

Column Name: Filter by Color

=IIF([ARTran.Qty]>[INSiteStatus.QtyOnHand],Orange,’’)

Then I can continue to build on the conditional to allow filtering by other colors. 

I am also looking to color the column with the same function in the style column

=IIF([ARTran.Qty]>[INSiteStatus.QtyOnHand],Orange40,’’)

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings