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
jracer007
Helper IV
Helper IV

Chart by last value of month

Hi, I want to know how I can get the last data of each month and show it in a bar graph. For example in March you must show me 1, on April -13, on May -2.

8/3/2017-1
9/3/2017-1
10/3/20170
11/3/20170
12/3/20171
13/3/201710
14/3/20172
15/3/20170
16/3/20170
17/3/20170
18/3/20170
19/3/20170
20/3/20170
21/3/20170
22/3/20170
23/3/20170
24/3/20170
25/3/20170
26/3/20170
27/3/20171
28/3/20170
29/3/20170
30/3/2017-1
31/3/20171
1/4/20170
2/4/20170
3/4/20170
4/4/20175
5/4/20178
6/4/2017-2
7/4/2017-11
8/4/2017-6
9/4/2017-11
10/4/2017-29
11/4/2017-29
12/4/2017-14
13/4/2017-19
14/4/2017-2
15/4/2017-7
16/4/2017-9
17/4/2017-9
18/4/2017-27
19/4/2017-20
20/4/2017-20
21/4/2017-28
22/4/2017-17
23/4/2017-6
24/4/20172
25/4/20170
26/4/2017-17
27/4/2017-23
28/4/2017-21
29/4/2017-17
30/4/2017-13
1/5/2017-11
2/5/20175
3/5/2017-9
4/5/2017-26
5/5/2017-12
6/5/2017-9
7/5/2017-22
8/5/2017-18
9/5/2017-7
10/5/2017-14
11/5/2017-38
12/5/2017-20
13/5/2017-30
14/5/2017-22
15/5/2017-14
16/5/2017-39
17/5/2017-30
18/5/2017-22
19/5/20171
20/5/2017-7
21/5/2017-20
22/5/2017-21
23/5/2017-8
24/5/2017-20
25/5/2017-16
26/5/2017-19
27/5/2017-14
28/5/2017-8
29/5/2017-18
30/5/2017-18
31/5/2017-2

 

3 ACCEPTED SOLUTIONS
Vvelarde
Community Champion
Community Champion

@jracer007

 

Hi, you can use this measure:

 

LastValue =
CALCULATE ( MAX ( Table1[Value] ), LASTDATE ( Table1[Date] ) )

 

lastdate.png

 

Regards

Victor

Lima - Peru




Lima - Peru

View solution in original post

@jracer007

 

Fíjate en el panel de formato de tu gráfico el campo fecha si es que está en jerarquia.

 

Look in the format panel of the chart and review if the Date Column is in Hierarchy Option.

 

Fechas.png

 

 




Lima - Peru

View solution in original post

@jracer007

 

Replace this measure:

 

Este Año2 =
CALCULATE (
    MAX ( 'Mi Tigo App'[Active Users] ),
    FILTER (
        'Mi Tigo App',
        'Mi Tigo App'[Active Users] <> BLANK ()
            && 'Mi Tigo App'[Date] = LASTDATE ( 'Mi Tigo App'[Date] )
    )
)



Lima - Peru

View solution in original post

13 REPLIES 13
Vvelarde
Community Champion
Community Champion

@jracer007

 

Hi, you can use this measure:

 

LastValue =
CALCULATE ( MAX ( Table1[Value] ), LASTDATE ( Table1[Date] ) )

 

lastdate.png

 

Regards

Victor

Lima - Peru




Lima - Peru

Hablas español?

@jracer007

 

Si




Lima - Peru

Veras soy nuevo en esto de Power BI necesito ayuda creando un filtro para los mismos datos que te mostre. El filtro debe ser por rango de fechas: "Año Anterior", "Este Año", "Mes Pasado", "Ultimos 30 dias", "Este Mes". Por favor si eres tan amable. Gracias 

@jracer007

 

You can try using relative option in slicer.

 

Puedes tratar usando la opción relative en el slicer.

 

relative.png




Lima - Peru

Una ultima cosita, como hago para que me muestre la suma de cada mes, en vez de mostrarme dia por dia.

lol.PNG

@jracer007

 

Fíjate en el panel de formato de tu gráfico el campo fecha si es que está en jerarquia.

 

Look in the format panel of the chart and review if the Date Column is in Hierarchy Option.

 

Fechas.png

 

 




Lima - Peru

Pero no me aparece noviembre, solo hasta octubre

@jracer007

 

Si puedes compartir tu archivo sin las columnas confidenciales o anonimizadas (Vía dropbox, drive or onedrive) para revisarlo y dar una solución.

 

If you can share your file (PBIX) without confidencial data to review it and bring a solution.

 

Regards

 

Victor

 

 




Lima - Peru

@jracer007

 

Replace this measure:

 

Este Año2 =
CALCULATE (
    MAX ( 'Mi Tigo App'[Active Users] ),
    FILTER (
        'Mi Tigo App',
        'Mi Tigo App'[Active Users] <> BLANK ()
            && 'Mi Tigo App'[Date] = LASTDATE ( 'Mi Tigo App'[Date] )
    )
)



Lima - Peru

power bi.png 
Una ultima cosita tengo dos lineas llmadas cumplimiento y penetracion, son pórcentajes pero se muestran como un decimal.

Saludos

Gracias amigo eres genial

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.