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
saurabhsahu0111
New Member

Calcular el recuento total para la fecha de hoy

Hola miembros del grupo, estoy atrapado en una situación en la que tengo que averiguar: 1-Número de problemas abiertos a partir de la fecha de hoy (Incluido el artículo fechado pasado si está abierto) 2-Número de problemas abiertos después de la fecha de hoy.

Por favor, ayó. Gracias.

Estado del billete Ultima fecha para cerrar

XXX Cerrado 04-09-2020

ABC Open 01-09-2020

DFG Open 31-08-2020

GHJ Cerrado 01-09-2020

FHT Abierto 10-09-2020

FGH Abierto 15-09-2020

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@saurabhsahu0111 , Probar como

calculate(countrows(Table), filter(Table, (table[Status] á"Open" && [Last Date to close] ?<today()) ? (tabla[Estado] á"Cerrado" && [Fecha de cierre] >today())))

O

calculate(countrows(Table), filter(Table, (table[Status] á"Open" && [Last Date to close] <today())))

O

calculate(countrows(Table), filter(Table, (table[Status] á"Open" && [Last Date to close] <- today())))

View solution in original post

Greg_Deckler
Super User
Super User

@saurabhsahu0111 - Parece que:

Measure 1 = COUNTROWS(FILTER('Table',[Status]="Open" && [Last Date to Close] <= TODAY())

Measure 2 = COUNTROWS(FILTER('Table',[Status]="Open" && [Last Date to Close] > TODAY())

Siento que me estoy perdiendo algo.

Usted puede encontrar esto útil -
https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364


@ 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...

View solution in original post

4 REPLIES 4
v-diye-msft
Community Support
Community Support

Hola @saurabhsahu0111

Si la ayuda de las publicaciones anteriores, por favor márquela como una respuesta para ayudar a otros a encontrarla más rápidamente. ¡Gracias!

Si no, por favor, amablemente elaborar más.

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

@saurabhsahu0111 - Parece que:

Measure 1 = COUNTROWS(FILTER('Table',[Status]="Open" && [Last Date to Close] <= TODAY())

Measure 2 = COUNTROWS(FILTER('Table',[Status]="Open" && [Last Date to Close] > TODAY())

Siento que me estoy perdiendo algo.

Usted puede encontrar esto útil -
https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364


@ 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...
amitchandak
Super User
Super User

@saurabhsahu0111 , Probar como

calculate(countrows(Table), filter(Table, (table[Status] á"Open" && [Last Date to close] ?<today()) ? (tabla[Estado] á"Cerrado" && [Fecha de cierre] >today())))

O

calculate(countrows(Table), filter(Table, (table[Status] á"Open" && [Last Date to close] <today())))

O

calculate(countrows(Table), filter(Table, (table[Status] á"Open" && [Last Date to close] <- today())))

Gracias @amitchandak por la resolución, está funcionando.

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.