Forum Discussion
admin11
Memorable Member
4 years agoHow to create expression for detect new product ?
Hi All I got 2 fields. - Last Sales - Last Purchase Date May i know how to write the expression , when :- Last Sales = 00/00/0000 & Last Purchase Date not = 00/00/0000 is equal to new...
- 4 years ago
Hi,
This calculated column formula works
New Product_final 1 = IF(and(INVC[Last Sales]=blank(),invc[Last Purchase Date]<>blank()),"New product","Existing product")Hope this helps.
VahidDM
Super User
4 years agoHi admin11
Try this:
Measure= if(MAX([Last Sales])<>MAX([Last Purchase Date]),"new product")
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
- admin114 years ago
Memorable Member
Thank you for sharing . i have try your propose code , it display Blank . Actual my condition , There is no sales for new product , Last Sales is 00/00/0000 , But There is Purchase date. As i indicate in Red below.
Last Sales = 00/00/0000 & Last Purchase Date not = 00/00/0000 is equal to new product