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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Apply Map issue

Hi folks,

I am not getting the apply map field in my app... Below is my code... thanks in advance...

StandardCost_Map:

MAPPING LOAD

    ProductID,

    StandardCost;

SQL SELECT * FROM Product;

SalesOrderDetail:

LOAD

    CarrierTrackingNumber,

    DueDate,

    OrderQty,

    ProductID,

    SalesOrderDetailID,

    OrderQty*UnitPrice - UnitPriceDiscount AS Sales,   

    ApplyMap('StandardCost_Map','ProductID','0') AS ProductStandardCost;

1 Solution

Accepted Solutions
senpradip007
Specialist III
Specialist III

venkat vemula wrote:

Hi folks,

I am not getting the apply map field in my app... Below is my code... thanks in advance...

StandardCost_Map:

MAPPING LOAD

    ProductID,

    StandardCost;

SQL SELECT * FROM Product;

SalesOrderDetail:

LOAD

    CarrierTrackingNumber,

    DueDate,

    OrderQty,

    ProductID,

    SalesOrderDetailID,

    OrderQty*UnitPrice - UnitPriceDiscount AS Sales,  

    ApplyMap('StandardCost_Map','ProductID','0') AS ProductStandardCost;

Try like:

Load

     .....

     ApplyMap('StandardCost_Map',ProductID,'0') AS ProductStandardCost

From <>;

View solution in original post

4 Replies
senpradip007
Specialist III
Specialist III

venkat vemula wrote:

Hi folks,

I am not getting the apply map field in my app... Below is my code... thanks in advance...

StandardCost_Map:

MAPPING LOAD

    ProductID,

    StandardCost;

SQL SELECT * FROM Product;

SalesOrderDetail:

LOAD

    CarrierTrackingNumber,

    DueDate,

    OrderQty,

    ProductID,

    SalesOrderDetailID,

    OrderQty*UnitPrice - UnitPriceDiscount AS Sales,  

    ApplyMap('StandardCost_Map','ProductID','0') AS ProductStandardCost;

Try like:

Load

     .....

     ApplyMap('StandardCost_Map',ProductID,'0') AS ProductStandardCost

From <>;

ashfaq_haseeb
Champion III
Champion III

Like this

ApplyMap('StandardCost_Map',ProductID,'0') AS ProductStandardCost;


Regards

ASHFAQ

avinashelite

Hi,

Remove the Single cotes for ProductID

ApplyMap('StandardCost_Map',ProductID,'0') AS ProductStandardCost;

Anonymous
Not applicable
Author

Thanks Pradeep.....