The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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])
)
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |