Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi! I have a colum with duration for every car in a Parking Lot, can I calculate de duration average for every car? Thanks in advance!
If you just want the average of all cars then its as simple as:
Avg Duration := CALCULATE ( AVERAGE([Duration]) )
If you are looking for the average duration of each car, and then average overall then something like this:
Avg Duration by Car := CALCULATE
(
AVERAGEX
(
VALUES('Data'[Vehicle Id])
,AVERAGE('Data'[Duration])
)
)
Actually I apply this formula:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |