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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Querying XML

Hi All,

ASD.png

Above is my XML which I have been able to query to a certain point. However, I am having trouble linking the "CP" element back to the RId.

How would you get the RId?

My XML Query looks like;

XMLOutput:

Load

RId as RatingJoin,

PIncIPT ,

PExIPT ,

PIncIPT - PExIPT,

From_Field('Policy','RD') (xmlSimple, table is [RatingData]);

CPOutput:

Load

[RatingData/RId],

I as [True/False],

V

From_Field ('Policy','RD') (xmlSimple, table is [RatingData/CP/CPI])

where I = 'true'

but for the life of me, I cannot join CPOutput to join back to the RatingData XMLQuery.....

0 Replies