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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dw700d
Post Patron
Post Patron

Dividir elementos dentro de la misma columna

Buenos días, estoy bastante seguro de que esto es simple, pero no puedo entenderlo. Me gustaría crear una medida que divida la suma de la versión 1 por la suma de la versión 2. ¿Cómo puedo lograr esto?

Fuente Cantidad
Versión 1100
Versión 1150
Versión 1200
Versión 1250
versión 2320
versión 2290
versión 2500
versión 2610
2 REPLIES 2
manikumar34
Solution Sage
Solution Sage

@dw700d ,

Prueba lo de abajo.

DIVIDE(CALCULATE(sum(Table[Amount]),Table[Source] ?"Version 1"),CALCULATE(sum(Table[Amount]), fTable[Source] ?"Versión 2"),0 )

Trate de no utilizar la función FILTER que cuases los problemas de perfomrance.

saludos

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




amitchandak
Super User
Super User

@dw700d , Por favor, pruebe una nueva medida

divide(calculate(sum(Table[Amount]), filter(Table, Table[Source] á"Version 1")),calculate(sum(Table[Amount]), filter(Table, Table[Source] ?"Version 2")) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors