Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.


Select only one VAT for my table using Invoices XML

I would like to make an extraction of a data in a table within my Invoice XML, I explain more in detail:

I am in the extraction of Specific Data from the XML I am working on (Date, Issuer: Name, Payment Method, Total and VAT)
I have everything excellently, except the VAT part.

My client only declares normal VAT, but there is another Tax (IEPS) that appears on the invoices, which my client does not declare.
At the time of loading the XML (Extracted from 1 folder), editing the tables I need and sorting, I only have to deal with VAT (Annex photo)


Whose values appear in the table, at the time of I want only to select AMOUNT to show:


The table generates 2 problems for me mainly:
It duplicates values (Showing Values 0 in VAT and doubling TOTAL)
It shows me the IEPS in some tables (And I only NEED THE VATIVE)


The data in some tables are as follows:


And as I said, I am only interested in having the VAT of type 2 tax, or 0.160000.
Any support with that? Thank you very much in advance for the support.


Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors