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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Why does my measurement takes the average of a value instead of aggregating?

Capture.PNG

 

Hi Community

 

Can anyone help explain why my measurement takes the average of a value instead of aggregating?

 

I conducted a measure where I divided 2 column with formular:

= divide(sum(column1) , sum(column2), blank())

 

When selecting “Modeling” on the overhead, Power BI does not give me the option to choose “default summarization”.

 

Is it because of division that Power BI is unable to aggregate? Because when I just simply add the 2 column Power Bi is able to aggregate.

 

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

It's not like it takes the average of the 3 categories in your table, it is calculating your measure without any applied filters. If you plot it in a table without any "begreb" filtering, you'll get the same result (18 %). Unless of course you have some page or report level filters applied, which I'm not aware of.

View solution in original post

10 REPLIES 10
Anonymous
Not applicable

Hi @Anonymous,

 

  Try creating two separaet measure for your sum like this

 

Measure_1=sum(column1)

Measure_2=sum(column2)

 

Measure_3 = Divide(measure_1,measure_2,0)

 

Reagrds

Anonymous
Not applicable

Hi Hemant,

 

That did not work 😞

Anonymous
Not applicable

No worries...

 

   Can you pleae provide some sample data and the exact end result you want to achieve??

 

Reagrds

 

Anonymous
Not applicable

Hi @Anonymous

 

Are you refering to the %-measure?

 

 

Anonymous
Not applicable

Hi Valibu,

 

Yes I am.

Anonymous
Not applicable

If you used this formula: = divide(sum(column1) , sum(column2), blank()), it's because the total is aggregating between your categories (småskader, mellemskader og storskader), before it calculates the total.

 

 

Anonymous
Not applicable

But that does not explain why the division takes the average instead of aggregating?

Anonymous
Not applicable

It's not like it takes the average of the 3 categories in your table, it is calculating your measure without any applied filters. If you plot it in a table without any "begreb" filtering, you'll get the same result (18 %). Unless of course you have some page or report level filters applied, which I'm not aware of.

Anonymous
Not applicable

Thanks for the enlightment. I think I got it now 🙂

Anonymous
Not applicable

No problem, don't hesitate to ask if you in doubt of anything, I'll gladly help out.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors