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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sbarnhill75
Frequent Visitor

Analytics Line for Average need to see in Card visual

I have an average line using the Analytic pane for a measure that I created.  I would like to see the average line's data label in a card visual to highlight it.  Frankly any more than one line and average line on a visual and it gets too crowded to see the labels.  What is the proper DAX to create this?  I'm using Visual Studio to do all of my calculations.  Right now I have something like this:  averagex(all(Calendar[Year], Calendar[Month]), [Measure1]) and when I pull it into a card visual I'm getting a value of 6K not -0.14 so it isn't even close.

 

sbarnhill75_0-1604446130708.png

 

Thanks -

Sara

 

3 REPLIES 3
wdx223_Daniel
Super User
Super User

@sbarnhill75  it seems a average by day

amitchandak
Super User
Super User

@sbarnhill75 , This like level avg, to either put the measure calculation in averagex or use the lowest id to do that

 

averagex(Table, [A]/[B]) , where and  B are used in the measure

 

or averagex(Table[ID],{measure])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak that solved my formula issue, but the score card is showing infinity instead of the total average.  Any ideas?

sbarnhill75_0-1604501636479.png

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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.

Users online (27)