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
OCBB_SFAFPandA
Resolver I
Resolver I

How to get a AVG measure from a Card

Hi,

 

I was able to get the average measure in a table using the AVERAGE function (FACTS[transactions]), though when I put the same measure in a CARD, it shows up as 0. I want it to look like below:

OCBB_SFAFPandA_0-1657239506913.png

Plus, I need to make sure it plays nice with my date slicer. It's a table I added to get this slicer working. It is cross filtered to "both directions"  with my date table

 

OCBB_SFAFPandA_1-1657239685948.png

 

 

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @OCBB_SFAFPandA 

 

Try this measure for that card:

Average X =
AVERAGEX (
    SUMMARIZE ( FACTS, FACTS[Location], "Avg", AVERAGE ( FACTS[transactions] ) ),
    [Avg]
)

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

View solution in original post

3 REPLIES 3
VahidDM
Super User
Super User

Hi @OCBB_SFAFPandA 

 

Try this measure for that card:

Average X =
AVERAGEX (
    SUMMARIZE ( FACTS, FACTS[Location], "Avg", AVERAGE ( FACTS[transactions] ) ),
    [Avg]
)

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Thanks, this works!

Anonymous
Not applicable

Hi @OCBB_SFAFPandA ,

Please refer to my pbix file to see if it helps you.

Create a measure.

Measure = AVERAGEX(ALL('Table'),'Table'[Average-transactions])

vpollymsft_0-1657604964308.png

vpollymsft_1-1657604987354.png

If I have misunderstood your meaning, please provide some sample data and desired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 (25)