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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
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.

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!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.