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 All,
I'm trying to add a column in the table below which provides an average value according to city-city pair. Here's what I have right now.
Here are the average values I would like to see.
The code I have been using is:
Solved! Go to Solution.
Does this work?
CALCULATE(
AVERAGE('Air Shipment Tracking'[Actual Transit Days]),
ALLEXCEPT('Air Shipment Tracking', 'Air Shipment Tracking'[City-City Pair])
)
Does this work?
CALCULATE(
AVERAGE('Air Shipment Tracking'[Actual Transit Days]),
ALLEXCEPT('Air Shipment Tracking', 'Air Shipment Tracking'[City-City Pair])
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |