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
Anonymous
Not applicable

Comparación mes a mes

Hola

Datos sin procesar:

Fecha Venta Nombre del cliente

25-07-2020 500 Pavan

26-07-2020 800 suresh

27-07-2020 1000 hojas

28-07-2020 500 naresh

01-06-2020 200 Finlandés

25-06-2020 600 venkat

26-06-2020 800 sasi

Quiero salida por debajo en potencia bi

Filtro flter

julio junio

Nombre del cliente julio fecha de venta junio datesales

Pavan 500

suresh 800

sai 1000

naresh 500

200 finlandés

venkat 600

sai 800

No tengo permiso para enviar los datos sin procesar por favor considere crudo por encima de uno.

saludos

5 REPLIES 5
v-kelly-msft
Community Support
Community Support

Hola @tgvrreddy ,

Primero cree una columna como se muestra a continuación:

Month = FORMAT('Table'[Date],"mmmm")&" "& "dates sales"

A continuación, coloque el Mes en el campo de columna de una matriz y verá:

Annotation 2020-07-30 163644.pngAnnotation 2020-07-30 163658.png

Para el archivo .pbix relacionado, pls ver adjunto.


Saludos
Kelly
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!
Anonymous
Not applicable

Aquí hay una copia usando sus datos

PBIX

amitchandak
Super User
Super User

@tgvrreddy, inténtalo de nuevo. Necesitas dos tablas de fechas, ambas tienen un año mes en eso. Mantenga la cortadora de cada uno .

medida 1 -
var _min á minX(allselected(Date,Date[Date]))
var _max á manX(allselected(Date,Date[Date]))
devolución
calculate(sum(Table[Sales]), filter(Table,Table[Date]>-_min && Table[Fecha]<-_max))

Utilice el crossfilter es Date is joined and active.

medida 2 -
var _min á minX(allselected(Date1,Date1[Date]))
var _max á manX(allselected(Date1,Date1[Date]))
devolución
calculate(sum(Table[Sales]), filter(Table,Table[Date]>-_min && Table[Fecha]<-_max))
calculate(sum(Table[Sales]), filter(Table,Table[Date]>-_min && Table[Date]<-_max), crossfilter(Table[Date],Date[Date],none))

CC182
New Member

Hola

Intente utilizar la visualización Matrix con lo siguiente:

- Filas: Nombre del cliente

- Columnas: Fecha (mes)

- Valor: Ventas

Anonymous
Not applicable

Hola

Cómo seleccionar el filtro mes de comparación dinámicamente.

saludos

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.