Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 specific text in dax query and not all xml text?
Solved! Go to Solution.
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.
Best Regards,
Dale
@lfrigione You can transform your value to xml in the power query editor and parse it out.
I can not find how to format the field as xml type
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.
Best Regards,
Dale
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!