cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rosscortb Member
Member

Average of measure

Hello,

I have created a mesure which counts the headcount minus agency, consultants and weekly employees, and I want to work out the average, any ideas? Thanks Ross

 

Capture.JPG

1 REPLY 1
Highlighted
Super User
Super User

Re: Average of measure

Hi @rosscortb 

Please always show your sample data in text-tabular format in addition to (or instead of) the screen captures. A screen cap doesn't allow people to readily copy the data and run a quick test and thus decreases the likelihood of your question being answered. Just use 'Copy table' in Power BI and paste it here. Or, ideally, share the pbix (beware of confidential data).

Try this (assuming Month and Year are the only columns used in the visual):

Measure =
AVERAGEX (
    SUMMARIZE ( Table1, Table1[Month], Table1[Year] ),
    [YourCurrentMeasure]
)

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Cheers  Datanaut

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 337 members 3,276 guests
Please welcome our newest community members: