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
jdtobon88
Helper I
Helper I

calculate maximum value of an hour of the day

Regards I have the following Challenge, I need to show in a table the maximum time with accesses in a day. My data is given by day, hour and number of accesses, and I only have to show by day which is the day with the hour with the greatest access:Captura de pantalla 2023-01-31 153419.png

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin ,

Por favor, intente:

Hour' = CALCULATE(MAX('Table'[Hour]),FILTER('Table',[Access]=MAX('Table'[Access])))

[Acceso] puede utilizar la agregación máxima directamente:

vjianbolimsft_0-1675216403547.png

Resultado final:

vjianbolimsft_1-1675216416440.png

Saludos

Jianbo Li

Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin ,

Por favor, intente:

Hour' = CALCULATE(MAX('Table'[Hour]),FILTER('Table',[Access]=MAX('Table'[Access])))

[Acceso] puede utilizar la agregación máxima directamente:

vjianbolimsft_0-1675216403547.png

Resultado final:

vjianbolimsft_1-1675216416440.png

Saludos

Jianbo Li

Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

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.