We help IT Professionals succeed at work.
Get Started

How to show items with null values

Last Modified: 2013-11-15
In our business each customer has a custom price profile with a negotiated price for each item purchased.  Each time they order, if a price is listed in thier profile for that item, it overrides the standard retail price.

The current report illustrates all items listed in the profile that have NOT been ordered in the last 365 days.  We then delete these from the profile to keep it accurate.  The problem is that we have some items listed in the profile that have NEVER been ordered.  Due to the coding of the report, these do not show up as the only ones listed on the report are those with max invoice dates > 365 days.  Here is some code used;

Select criteria;  
Maximum ({SalesOrder.OpenDate}, {SalesOrderItem.ItemNmbr})<currentdate-365
{@NoCustom} = "Has Custom"

the @NoCustom is a formula created to ID those items that have profile price listed;
if IsNull({CustomerPrice.Price})then "Need Custom" else "Has Custom"

Using this, we show items that have custom profile price with last sale date of 365+ days.  How do I add items that have NO sales to this report?  
Watch Question
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE