Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Average in Drill-down column chart

Hi Guys,

 

  I am using Drill-down column chart by ZoomCharts and I found that the average calculation is on the average of each slice and then average of all slices at that level which in terms not giving exact precision of values. 

 

  If you see in my case the hovered bar which is Agile Cockpit Development shows 3.48 but if I drill down to it the actual average I get is 3.54 which display on right top.

 

I tried to get the calculation how it is being done.

e.g. ChildLevel 1 = (1+2+3)/3 = 2

       ChildLevel 2 = (2+2)/2 = 1

       ParentLevel = (ChildLevel1 + ChildLevel2)/2 = (2+1)/2 = 1.5

 

  What I expect at ParentLevel avergae is (1+2+3+2+2)/5 = 2

 

Any solution to get this.

 

Energy1.PNG

 

Energy2.PNG

 

Thanks,

Sud

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

In my test, the average value is correct after I drill down to next level.

1.PNG2.PNG

 

In your scenario, how did you calculate the [Energy Level]? Please provide sample data to illustarte your problem.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-yulgu-msft,

 

  My source is in a different format having the hierarchical data.

 

  I am attaching snapshots of source and the average calculation.Source.PNG

 EnergyDetails.PNG

I hope this will help you to understand.

 

Thanks,

Sud

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.