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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
GuilleLus
Frequent Visitor

Calcular porcentaje de caída en las ventas

Hola comunidad,

Quiero calcular el porcentaje de caída en las ventas. 

La medida tiene que ser creada entre la columna "caída en las ventas" (medida calculada) y "CobCuo1".

Podrían facilitarme algún ejemplo de cómo proceder en este caso?

Gracias! 

Tabla Ventas.jpg

1 ACCEPTED SOLUTION

Team_ Scott Chang,

Thaks for your cooperation. 

 Unfortunately I have not been able to resolve my query with your help.

I needs represent "Caida Cartera" in percentage, but has been impossible at the moment.

I send an image with more details.Ejercicio caida ventas.png

Thank you again for your cooperation. 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @GuilleLus ,

 

Please state your question in English. According to my guess you are trying to calculate the percentage difference in sales, I have made simple samples and you can check the results as below:

vtianyichmsft_0-1713150251224.png

% = var _t = ADDCOLUMNS('Table',"A",MAXX(FILTER(ALL('Table'),[ID]=EARLIER([ID])-1),[Value]))
RETURN DIVIDE(MAX('Table'[Value])-MAXX(_t,[A]),MAXX(_t,[A]))

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

Team_ Scott Chang,

Thaks for your cooperation. 

 Unfortunately I have not been able to resolve my query with your help.

I needs represent "Caida Cartera" in percentage, but has been impossible at the moment.

I send an image with more details.Ejercicio caida ventas.png

Thank you again for your cooperation. 

Anonymous
Not applicable

Hi @GuilleLus ,

 

To be honest, I still don't quite understand what you mean. To calculate as a percentage, using the divide function seems to solve the problem. Can you show me what you expect?

 

Best regards,
Community Support Team_ Scott Chang

Hi, Team_ Scott Chang

Thank you for your cooperation. Fortunately I was able to solve the problem.

Best regards, Guillermo.-

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.