Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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.....