Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
bharatkishore
Creator III
Creator III

Apply map issue

Hi All, i have the below code:

Category:

LOAD (Modality) as Key,

     Consumption

   

FROM

[..\\Period_Level1_1.qvd]

(qvd);

Final_Category:

Mapping

Load Key,

Consumption

Resident Category;

Drop table Category;

Overview:

LOAD (Modality) as Key

     IB

FROM

[..\sum.qvd]

(qvd) where  match(Modality,'AMI','CT','MR','US','DXR','IXR');

Final_Overview:

LOAD Key,

  IB,

     ApplyMap('Final_Category',Key,'') as Consumption

   

     Resident Overview;

     DROP Table Overview;

After reloading my consumption value is becoming 4 times higher.

Can you please tell me where i am missing.

Thanks,

Bharat

2 Replies
shansundar
Partner - Creator
Partner - Creator

Script looks correct, please upload sample qvw file with data we can try and let you know.

Thanks,

Shan S

bharatkishore
Creator III
Creator III
Author

Thanks SS.

Issue is in the data side.. figured it out.. If anything else is there will keep you posted.

Thanks again..