Forum Discussion

lfrigione's avatar
lfrigione
Helper II
8 years ago
Solved

XML fields in DAX

I have an XML field in my table that is something like that: <texts> <text lcid="1040">Ciao<text> <text lcid="2057">Hello<text> </texts>   I Know the lcid that I want, How can I keep only a sp...
  • v-jiascu-msft's avatar
    v-jiascu-msft
    8 years ago

    Hi lfrigione,

     

    The field is already a xml type. Then you can parse that field. Finally, you can extract the values you want. Please refer to the snapshot below.

    XML_fields_in_DAX

     

    Best Regards,

    Dale