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 two tables. One is 'Incident' and the second is 'HoldActivity' (and relation between these two tables is 'IncId' as shown below). I need to display a visual which should show the average of TotalDuration and HoldDuration. When I apply the average, it shows the TotalDuration as 125 (i.e. 100+150/2) and HoldDuration as 50.
Actually, I need HoldDuration to display as 25. Can you anyone help me in solving this issue.
Incident
HoldActivity
Thanks
Rakesh
Solved! Go to Solution.
You need to add something like this
DIVIDE( HoldActivity[HoldDuration], DISTINCTCOUNT(Incident[IncId]) )
if you are calculating the average of HoldDuration based on the number of incidents in table Incident.
You need to add something like this
DIVIDE( HoldActivity[HoldDuration], DISTINCTCOUNT(Incident[IncId]) )
if you are calculating the average of HoldDuration based on the number of incidents in table Incident.
Thank you SabineOussi!!
It worked.
What logic are you using to determine that the value should be 25?
Thanks,
Sam Lester (MSFT)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 68 | |
| 66 | |
| 58 |