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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.