|
|
Joined: Mar 2004
Posts: 74
Adagio Buff
|
|
Adagio Buff
Joined: Mar 2004
Posts: 74 |
Hey Andrew,
What does the "UPPER" part of that filter do? I would have never known to put that in.
|
|
|
|
|
Joined: Mar 1999
Posts: 11,763
Adagio Action Team
|
|
Adagio Action Team
Joined: Mar 1999
Posts: 11,763 |
It's to make sure that capitalization isn't a factor for items not being selected, based on the user entering the item code with lowercase letters.
Regards, Softrak Tech Support
|
|
|
|
|
Joined: Mar 2004
Posts: 74
Adagio Buff
|
|
Adagio Buff
Joined: Mar 2004
Posts: 74 |
How do I suppress all items with zero dollar amount sales for a given period?
|
|
|
|
|
Joined: Mar 1999
Posts: 10,504
Adagio Master
|
|
Adagio Master
Joined: Mar 1999
Posts: 10,504 |
Hi Nick, Use: Code:
{Units sold Period n}<>0
where {Units Sold Period n} is one of: Code:
{Units Sold Period 1} {Units Sold Period 2} {Units Sold Period 3} {Units Sold Period 4} {Units Sold Period 5} {Units Sold Period 6} {Units Sold Period 7} {Units Sold Period 8} {Units Sold Period 9} {Units Sold Period 10} {Units Sold Period 11} {Units Sold Period 12} {Units Sold Period 13} {Units Sold YTD} {Units Sold LY}
from the Inventory Item Master table. There's also and {Amt Sold Period n} field you could use instead. If you want to scan several periods, then add the individual periods together and see if they sum together, like this: Code:
({Units sold Period 1}+ {Units sold Period 2} + {Units sold Period 3})<>0
OK?
Andrew Bates
|
|
|
|
|
Joined: Mar 2004
Posts: 74
Adagio Buff
|
|
Adagio Buff
Joined: Mar 2004
Posts: 74 |
I have created a filter:
{Amt Sold Period 2}<>0
I still get items with zero sales. What am I missing?
|
|
|
|
|
Joined: Mar 1999
Posts: 10,504
Adagio Master
|
|
Adagio Master
Joined: Mar 1999
Posts: 10,504 |
Have you turned the filter on and selected the filer you created?
Andrew Bates
|
|
|
|
|
Joined: Mar 2004
Posts: 74
Adagio Buff
|
|
Adagio Buff
Joined: Mar 2004
Posts: 74 |
Quote:
Have you turned the filter on and selected the filer you created?
I didn't know that you could turn a filter off, or select it. I thought that if you created a filter, it automatically worked.
How do I select filters that I have created for a view, and turn them on and off?
|
|
|
|
|
Joined: Mar 1999
Posts: 11,763
Adagio Action Team
|
|
Adagio Action Team
Joined: Mar 1999
Posts: 11,763 |
There is a button on the toolbar for enabling or disabling the filter. If you are using the current version, it is to the left of the drop-down field where you can select filters. Or from the View menu, pick 'Toggle Filter' (or Shift-F6).
The purpose of having a way of immediately disabling the filter is while you are creating the view - it's a great way of testing to make sure the filter is reading the records you mean it to. If you enter a filter and the listed records are not as you anticipated, you can turn the filter off, check which records are (not) appearing, and then modify the filter accordingly.
Regards, Softrak Tech Support
|
|
|
|
|
Joined: Mar 2004
Posts: 74
Adagio Buff
|
|
Adagio Buff
Joined: Mar 2004
Posts: 74 |
Quote:
There is a button on the toolbar for enabling or disabling the filter. If you are using the current version, it is to the left of the drop-down field where you can select filters. Or from the View menu, pick 'Toggle Filter' (or Shift-F6).
The purpose of having a way of immediately disabling the filter is while you are creating the view - it's a great way of testing to make sure the filter is reading the records you mean it to. If you enter a filter and the listed records are not as you anticipated, you can turn the filter off, check which records are (not) appearing, and then modify the filter accordingly.
OK, that worked (though I had to add the drop down filter menu to the toolbar: View->Customize)
Yet now it seems like I can only choose one filter or the other, but not both at the same time. My first filter is a query for the category, and my second is to suppress all items with zero sales. Each works by themselves, but when I choose one from the drop down menu it toggles the other off.
Is there a way to get both to work?
|
|
|
|
|
Joined: Mar 1999
Posts: 11,763
Adagio Action Team
|
|
Adagio Action Team
Joined: Mar 1999
Posts: 11,763 |
Hi Nick,
It's true that a filter isn't 'sticky' - when you select a second filter, the results of the first filter are no longer used.
If you want to have a filter for both category selection AND zero sales suppression, you need to incorporate this into your filter formula with the AND function:
AND ( {Category}="XYZ" , {Sales Qty}<>0 )
From above, this filter would only select items with the category XYZ and at the same time have non-zero sales. Note that there is a comma separating both statements - this is important. What you'd need to do is replace the statements above with the ones you have got working.
Another way to do this is to leave the filter you have for non-zero sales. Then create a second View based on the IC Category list and link it to your current view. Double-clicking from this list is all you need to filter your view additionally by Category code. I mention this way because it will produce the results faster than by a filter alone (where the data has to be re-read with the new query).
Regards, Softrak Tech Support
|
|
|
|
0 members (),
74
guests, and
3
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Forums5
Topics14,683
Posts71,655
Members1,875
| |
Most Online1,408 Dec 9th, 2025
|
|
|
S |
M |
T |
W |
T |
F |
S |
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
|
29
|
30
|
|
|
|
|
|
|
|
|