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! Request now

Reply
MaleneL
Resolver I
Resolver I

Average Measure not wokring

Hallo

Once again, I have a problem.

I have at table looking simplified looks something like this:

Date

customer

Acount

number

31-12-2024

Customer 1

Acount 1

1

31-12-2024

Customer 1

Acount 2

1

31-12-2024

Customer 1

Acount 3

1

31-12-2024

Customer 1

Acount 4

1

31-12-2024

Customer 2

Acount 1

3

31-12-2024

Customer 2

Acount 2

3

31-12-2024

Customer 2

Acount 3

3

 

I have build this very simple measure:

AverageNumber =

    CALCULATE(

        CALCULATE(

            AVERAGE(Table[number])))

 

It is of course connected to calendar dimension :O)

 

For Customer 1 the result is

MaleneL_1-1756196236155.png

I would like it to be 1

 

And Customer 2

MaleneL_2-1756196236155.png

I would like it to be 3

 

What am I doing wrong?

Sincerely

Malene

 

 

 

1 ACCEPTED SOLUTION
MaleneL
Resolver I
Resolver I

FORGET THIS ONE - I FOUND OUT WHAT I HAVE DONE WRONG - WRONG DIMENSION USED

View solution in original post

2 REPLIES 2
FBergamaschi
Solution Sage
Solution Sage

Hi @MaleneL 

I have the correct result using your data

 

FBergamaschi_0-1756196797146.png

 

so:

1 - have you checked the data type of the column number?

2 - why do you write

 

AverageNumber =

    CALCULATE(

        CALCULATE(

            AVERAGE(Table[number])))

 

and not simply

 

AverageNumber =

            AVERAGE(Table[number])

 

?

 

my file is here for your reference

 

https://drive.google.com/drive/folders/1iE4KnVQ1uhv1W41XpsBCd6cBnSdzK_xb?usp=sharing

 

 

Thanks

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

MaleneL
Resolver I
Resolver I

FORGET THIS ONE - I FOUND OUT WHAT I HAVE DONE WRONG - WRONG DIMENSION USED

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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.

Top Solution Authors