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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Checonova
New Member

Creados vs Resueltos desde datos de Jira

Hola Comunidad, tengo un problema y quiero ver si me pueden ayudar.

Quisiera mostrar una tabla con la información de tickets creados vs tickets resueltos.

Ejemplo:
Día 26/08/2022 se crearon 23 tickets y se resolvieron 32 (18 del día 26/08/2022, y 14 de cualquier otra fecha anterior)
Foto1.PNG
¿Cómo puedo esa mostrar eso en una tabla?
*Resultado esperado
Foto2.PNG

Quiero seleccionar el cualquier día y que me diga cuando tickets se recibieron, cuantos pendientes y cuantos se resolvieron.
He tratado de hacerlo pero los filtros no me dejan ver los datos en la misma tabla, o veo los recibidos o veo los resueltos pero no ambos.

Si necesitan algo lo vemos.
Thank you!



1 ACCEPTED SOLUTION
v-binbinyu-msft
Community Support
Community Support

Hi @Checonova ,

Please try below steps.

1. below is my test table

Table:

vbinbinyumsft_0-1661930075920.png

2. create a date table from "Table"

Table 2 =
CALENDAR (
    FIRSTDATE ( 'Table'[Created Date ] ),
    LASTDATE ( 'Table'[Resolution date] )
)

vbinbinyumsft_1-1661930166602.png

3. create three measure and add a table visual

Create Amount =
VAR cur_date =
    SELECTEDVALUE ( 'Table 2'[Date] )
VAR tmp =
    FILTER ( ALL ( 'Table' ), 'Table'[Created Date ] = cur_date )
VAR ctn =
    COUNTROWS ( tmp )
RETURN
    ctn
Pending Amount =
VAR cur_date =
    SELECTEDVALUE ( 'Table 2'[Date] )
VAR tmp =
    FILTER (
        ALL ( 'Table' ),
        'Table'[Created Date ] = cur_date
            && 'Table'[Status] = "In progress"
    )
VAR ctn =
    COUNTROWS ( tmp )
RETURN
    ctn
Resolve Amount =
VAR cur_date =
    SELECTEDVALUE ( 'Table 2'[Date] )
VAR tmp =
    FILTER (
        ALL ( 'Table' ),
        'Table'[Status] = "Solve"
            && 'Table'[Resolution date] = cur_date
    )
VAR ctn =
    COUNTROWS ( tmp )
RETURN
    ctn

vbinbinyumsft_2-1661930459223.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-binbinyu-msft
Community Support
Community Support

Hi @Checonova ,

Please try below steps.

1. below is my test table

Table:

vbinbinyumsft_0-1661930075920.png

2. create a date table from "Table"

Table 2 =
CALENDAR (
    FIRSTDATE ( 'Table'[Created Date ] ),
    LASTDATE ( 'Table'[Resolution date] )
)

vbinbinyumsft_1-1661930166602.png

3. create three measure and add a table visual

Create Amount =
VAR cur_date =
    SELECTEDVALUE ( 'Table 2'[Date] )
VAR tmp =
    FILTER ( ALL ( 'Table' ), 'Table'[Created Date ] = cur_date )
VAR ctn =
    COUNTROWS ( tmp )
RETURN
    ctn
Pending Amount =
VAR cur_date =
    SELECTEDVALUE ( 'Table 2'[Date] )
VAR tmp =
    FILTER (
        ALL ( 'Table' ),
        'Table'[Created Date ] = cur_date
            && 'Table'[Status] = "In progress"
    )
VAR ctn =
    COUNTROWS ( tmp )
RETURN
    ctn
Resolve Amount =
VAR cur_date =
    SELECTEDVALUE ( 'Table 2'[Date] )
VAR tmp =
    FILTER (
        ALL ( 'Table' ),
        'Table'[Status] = "Solve"
            && 'Table'[Resolution date] = cur_date
    )
VAR ctn =
    COUNTROWS ( tmp )
RETURN
    ctn

vbinbinyumsft_2-1661930459223.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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