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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Syndicate_Admin
Administrator
Administrator

Días transcurridos en el mes actual

Hola entusiasta de Power BI,
Quiero saber cuántos días transcurrieron en el mes actual.
Por ejemplo: Hoy es 8 de noviembre
Por lo tanto, la salida debe ser 7.

Por favor, ayuda.

Saludos
AJP

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

@Tahreem24 @PaulDBrown
Muchas gracias por la solución.

Syndicate_Admin
Administrator
Administrator

@AJP-PBI Prueba esto también,

DateDiff = DATEDIFF(INICIODEMES('Tabla'[Fecha]),HOY(),Día)
Syndicate_Admin
Administrator
Administrator

Probar:

Days elapsed current month =
DATEDIFF(EOMONTH(TODAY(), -1) +1, TODAY(), DAY)

elapsed.jpg

Syndicate_Admin
Administrator
Administrator

@AJP-PBI , Pruebe este DAX

Solución 1 = DATEDIFF(FECHA(2022,11,1),HOY(),Día)
O
Solución 2 =
DATEDIFF(Tabla[DateColumn],HOY(),Día)

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors
Top Kudoed Authors