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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Rsanjuan
Advocate III
Advocate III

Moving Average as a Line Value in Combo Chart

Hello,

 

I am trying to create and display a dynamic average for a measure and input it in as a line value.

 

Pic1.JPG

 

 

I already had created a new measure titled WinRate  --> WinRate = Divide([NumberofSales],[NumberofBids])

 

What would be the DAX expression to calculate the average for the new measure and input it into the "Line Value"?  Any help would be great.  Thanks!

 

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

Hi @Rsanjuan

 

Please try:

 

Avg-WinRate = AverageX(All(Table1),[WinRate])

 

 

 

 




Lima - Peru

View solution in original post

4 REPLIES 4
Vvelarde
Community Champion
Community Champion

Hi @Rsanjuan

 

Please try:

 

Avg-WinRate = AverageX(All(Table1),[WinRate])

 

 

 

 




Lima - Peru

@Vvelarde

 

 

I tried it and it works!

 

Capture2.JPG

 

I believe it has the correct average, but is there any way possible I can remove the "1" that shows?  I can remove it by turning off the data label, but it will turn it off for the the bars as well, and want to keep that data label.

 

@Rsanjuan

 

Currently we cannot turn on/off the data label for specific series. You can vote this idea here.

 

Best Regards,

Herbert

Anonymous
Not applicable

I think my issue is similar. 

 

I have the number of incidents per day in a line and stacked column chart. So Monday has 6, Tues 27, Weds 5, Thurs 11 and Fri 4. First of all I want the average of those to show in a line - how can I do this? 

 

Second of all, this is across all of time, but I have built it so you can drill down to show the indivudal days. So for example Tuesday is the hightest count so when I click on Tuesday it is split between 7 different Tuesday's - I want an average of these now (which will be different to the average when it was all days) to see if one date caused Tuesday to be higher overall or whether on average they are always higher. Note it is not always 7 different dates and this is live data so will constantly be changing so I can't hard code e.g. 7.

 

Any help would be greatly appreciated! 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors