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
zraopingm
Helper IV
Helper IV

average from list of a measure

Hello, 

below image where CURR_MTH_EXP = TOTAL EXP(MeasureA) - PRIOR MONTH EXP (MeasureB)

2M in the card is the total exp for the past no of months in the table.

Is there a way I can change the total of 2M in the card to Average month exp based on table?

and of course, months could be days or hours.

Thank you

Zoey

zraopingm_0-1730142038059.png

 

 

4 REPLIES 4
Anonymous
Not applicable

Thank you Greg_Deckler and ryan_mayu

Hi, @zraopingm 

First you can create a date slicer as follows:

vjianpengmsft_0-1730268750564.png

Then create a quick measure:

vjianpengmsft_1-1730268869587.png

vjianpengmsft_2-1730268939373.png

The results are as follows:

vjianpengmsft_3-1730268981227.png

vjianpengmsft_4-1730269053673.png

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

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

 

 

ryan_mayu
Super User
Super User

maybe you can try this

= averagex(values(CY_MONTH),  CURR_MTH_EXP)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Greg_Deckler
Community Champion
Community Champion

@zraopingm This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149

The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you, I am just looking for if there is a quick way to submarize by card with the total, or average on a range of data derived from a measure. 

Zoey

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