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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Miguelcrz
Helper I
Helper I

Diferencia en las ventas entre categorías por día

¡Hola! Me gustaría obtener la diferencia que tiene una categoría frente a las demás en ventas y transacciones. La categoría que me gustaría evaluar es "Belleza Coreana" vs "Cuidado de la piel" y vs "Mascarillas". Estoy adjuntando una imagen con el gráfico me gustaría tener que obtener el % de diferencia entre uno y otro.

Miguelcrz_0-1598286297192.png

Por ejemplo, el 15 de agosto tuve 105 transacciones de belleza coreana, 421 de cuidado de la piel y 233 de mascarillas.

So belleza coreana is -73.82% lower than cuidado de la piel and -54.52% lower than mascarillas.

In sales should be the same: On August 15 i had sales of $ 3,697 in belleza Coreana, $ 17,003 in cuidado de la piel and $ 5,302 in mascarillas. So, belleza coreana is -78.26% lower than cuidado de la piel and -30.27% lower than mascarillas.

Espero que puedas ayudarme. ¡¡Gracias!!

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hola @Miguelcrz ,

Compruebe la medida y la imagen a continuación Si malinterpreta su significado, por favor hágamelo saber.

% = (CALCULATE(SUM('Table'[value]),FILTER(ALL('Table'),'Table'[type]=SELECTEDVALUE('Type'[type])&&'Table'[date]=SELECTEDVALUE('Table'[date])))-SELECTEDVALUE('Table'[value]))/SELECTEDVALUE('Table'[value])

2.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Greg_Deckler
Super User
Super User

@Miguelcrz No es realmente suficiente información para seguir adelante, por favor primero compruebe si su problema es un problema común enumerado aquí: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Además, consulte este post sobre cómo obtener respuesta a su pregunta rápidamente: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

Las partes más importantes son:
1. Datos de muestra como texto, utilice la herramienta de tabla en la barra de edición
2. Salida esperada de los datos de muestra
3. Explicación en palabras de cómo obtener de 1. a 2.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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