Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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, kind of like the average value of the last hour in real time.
In the following table I specify the following data:
Fecha_Hora | EJE1 | EJE2 | EJE3 |
05/12/2021 10:00 | 66,5 | 109,5 | 1,5 |
05/12/2021 10:15 | 74,5 | 111,9 | 1,7 |
05/12/2021 10:30 | 77,0 | 112,3 | 1,9 |
05/12/2021 10:45 | 79,6 | 113,8 | 2,1 |
05/12/2021 11:00 | 81,0 | 114,4 | 2,5 |
05/12/2021 11:15 | 79,8 | 113,9 | 2,1 |
05/12/2021 11:30 | 76,8 | 111,9 | 1,9 |
05/12/2021 11:45 | 81,8 | 114,9 | 2,0 |
05/12/2021 12:00 | 83,1 | 116,1 | 2,3 |
05/12/2021 12:15 | 82,0 | 115,6 | 2,5 |
05/12/2021 12:30 | 81,0 | 114,3 | 2,7 |
05/12/2021 12:45 | 82,5 | 116,7 | 3,0 |
I need to calculate the average value of the last hour of the AXES, evaluating the last four of registration during the last hour.
I tried creating an AVERANGE measurement but I can't show only the average value of the last hour, I don't know if I should create a table where those values are hosted and then visualize them directly with SELECTDVALUES and LASTNOTBLANK.
Prom value. Ultima Hs = AVERANGE('GeneralTable'[AXIS1])
The expected value I'm wanting to get is
Prom value. Last Hs = 82.15
What can I do to resolve this conflict.
Thank you.
Not bad! thanks for the comment.
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, 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.
The values shown on the card are the ones I want to get to, but I hope to visualize them directly without having to apply filters. I want to show those same values directly on the card.
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.
Hey @Syndicate_Admin ,
please consider creating a pbix file that contains sample data, upload the pbix file to onedrive or dropbox and share the link, as the data you provided can not be pasted to a table in Power BI desktop.
Nevertheless, I would create some calculated columns
Finally, create a measure that aggregates the values.
As I do not fully understand how you calculate the sample value 82.15, please describe how this value is calculated meaning describe the values that are used for the calculation.
Regards,
Tom
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 65 | |
| 63 | |
| 31 | |
| 26 | |
| 25 |