Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
CarlosP
Regular Visitor

Realizar una suma de valores descartando duplicados

Hola

 

Estoy realizando una comparacion de costo contra venta, pero al momento de realizar la consulta me considera valores duplicados. Estos valores deben quedarse porque me sirven para realizar otros reportes.

 

El valor correcto es el de la tarjeta de facturación

CarlosP_0-1725672380845.png

 

1 ACCEPTED SOLUTION
v-denglli-msft
Community Support
Community Support

Hi @ CarlosP,

 

Based on the information you provided, I did some testing.

 

The data table is shown below.

vdengllimsft_0-1725858733208.png

 

The card visual uses the same Sales column as the table visual /Sum of Sales/ column.

vdengllimsft_1-1725858739600.png

 

Even if Sum of Sales contains duplicate values, the total value of the column is the same as the card visual display value. There is no reproduction of your problem.

vdengllimsft_2-1725858754399.png

 

Therefore, I would like to confirm something.

 

Does your card visual get the effect of any filters such as slicers, filters for that page or filters from other pages.

If you remove the /sinfact2.siniestro/ column from your table visual, what is the total value of the /suma facturacion/ column?


Finally, could you provide some sample data? We can better understand the problem and help you.

Or show it as a screenshot or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.


Best Regards,

Dengliang Li

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-denglli-msft
Community Support
Community Support

Hi @ CarlosP,

 

Based on the information you provided, I did some testing.

 

The data table is shown below.

vdengllimsft_0-1725858733208.png

 

The card visual uses the same Sales column as the table visual /Sum of Sales/ column.

vdengllimsft_1-1725858739600.png

 

Even if Sum of Sales contains duplicate values, the total value of the column is the same as the card visual display value. There is no reproduction of your problem.

vdengllimsft_2-1725858754399.png

 

Therefore, I would like to confirm something.

 

Does your card visual get the effect of any filters such as slicers, filters for that page or filters from other pages.

If you remove the /sinfact2.siniestro/ column from your table visual, what is the total value of the /suma facturacion/ column?


Finally, could you provide some sample data? We can better understand the problem and help you.

Or show it as a screenshot or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.


Best Regards,

Dengliang Li

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks you were right! there is no additional sum if a row is duplicated. I should've checked it beforehand!

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.