This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Good community!!!
I am trying to create a MEASURE or COLUMN to display on a card the average value of the last hour. I know, that in a table organizing the hierarchies of Date and Time I can show it. But I want to show the value directly on a card, without the need to apply filters, something like the average value of the last hour in real time.
In the following table I specify the following data:
Apply an averange and I arrive at the expected result by applying from a filter panel the selection of the date and time. But the idea is that by default and without applying filters the card can show me the values.
Those would be the expected values, but without having to apply filters.
Currently I am only applying an AVERANGE, but I do not know how to specify that I calculate the last minute value. Taking as a sample the four registers hs.
Solved! Go to Solution.
Hi @Syndicate_Admin ,
According to your description, I download your sample, here's my solution.
Create a measure.
Promedio_Nivel =
CALCULATE (
AVERAGE ( muestra[Nivel_1] ),
FILTER (
ALL ( 'muestra' ),
HOUR ( 'muestra'[Fecha_Hora] )
= MAXX ( ALL ( 'muestra' ), HOUR ( 'muestra'[Fecha_Hora] ) )
)
)
Get the correct result without a slicer.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Hi @Syndicate_Admin ,
According to your description, I download your sample, here's my solution.
Create a measure.
Promedio_Nivel =
CALCULATE (
AVERAGE ( muestra[Nivel_1] ),
FILTER (
ALL ( 'muestra' ),
HOUR ( 'muestra'[Fecha_Hora] )
= MAXX ( ALL ( 'muestra' ), HOUR ( 'muestra'[Fecha_Hora] ) )
)
)
Get the correct result without a slicer.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
@Syndicate_Admin , if you have datetime column, you can create a measure like
calculate( Count(Table[Value]), filter(Table, Table[Datetime] >= now() -time(1,0,0) && Table[Datetime] < now() ) )
Dear.
Thanks for the help. But it didn't work.
The expression
Nose if I should put the YTD.
I await comments. Best regards.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 28 | |
| 23 | |
| 23 |