Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Actualmente tengo una tabla de transacciones de solicitud con ID de solicitud y fecha de creación.
Me gustaría obtener el número promedio de transacciones por mes basado en esta tabla.
¡Gracias de antemano!
| IDENTIFICACIÓN | Título | Fecha de creación | Categoría |
| 1 | abecedario | 01/01/2023 | 1 |
| 2 | ABCD | 01/03/2023 | 2 |
| 3 | ABCDE | 02/03/2023 | 2 |
| 4 | ABCDEF | 02/06/2023 | 1 |
¡Bien!
@aquidato , Cree una tabla de fechas y únase con su tabla y tenga mes año allí
A continuación, cree una medida como
Averagex(Values('DAte'[Month Year]), calculate(count(Table[ID]) ) )
Tabla de fechas
date = Addcolumns(calendar(date(2012,01,01), date(2024,12,31) ), "Month no" , month([date])
, "Año", año([fecha])
, "Mes Año", formato([fecha],"mmm-aa")
, "Ordenación de mes-año", año([fecha])*100 + mes([fecha])
, "Qtr Year", format([date],"yyyy-\QQ")
, "Qtr", trimestre([fecha])
, "Mes",FORMAT([Fecha],"mmmm")
, "Month sort", month([DAte])
, "Año del año fiscal", si( Mes(_max) <7 , año(_max)-1 ,año(_max))
, "es hoy" ,if([fecha]=HOY(),"hoy",[fecha]&"")
,"Día del año" , datediff(date(year([DAte]),1,1), [Date], day)+1
, "Tipo de mes", Switch( True(),
eomonth([Fecha],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Fecha],0)= eomonth(Today(),0),"Este mes" ,
Formato([Fecha],"MMM-AAAA") )
,"Tipo de año" , Switch( True(),
año([Fecha])= año(Hoy()),"Este año" ,
año([Fecha])= año(Hoy())-1,"Último año" ,
Formato([Fecha],"AAAA")
)
)
Por qué falla la inteligencia del tiempo - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...
Para obtener lo mejor de la función de inteligencia de tiempo. Asegúrese de que tiene un calendario de fechas y que se ha marcado como la fecha en la vista de modelo. Además, únalo con la columna de fecha de su(s) hecho/s. Referir: radacad sqlbi Mi serie de videos Aprecia tus felicitaciones.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.