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
Gjakova
Post Patron
Post Patron

Dividing a measure with filters/field values?

I don't know if my subject title is correct, but I have the following problem:

I have a dataset with the following situation:

I have 4 age groups: 0 - 20, 20 - 40, 40 - 60 and 0 - 60 (which is everything combined).

These groups show me the # of orders and profit %.

When I select the average/max/sum of 0 - 60, it sometimes shows me a different number compared to when I multi-select 0-20, 20-40 and 40-60 (even though you would assume that it would give me the same number as 0 - 60)

I created two tables. Table A has all the info regarding my products etc. where I only selected 0 - 60.

Table B has also the same info regarding my products etc. but I selected 0-20, 20-40 and 40-60.

Table A is correct and I would like table B to be the same as Table A.

When I select SUM at the # of oders columns, it shows me the same amount as Table A.

When I select SUM/MAX/AVG at profit %, it shows me the wrong number (which seems logical).

How do can I divide the measures where I need the profit % by the age groups?

Is this possible in Power BI? Thanks in advance.

 

Ps. I could send a sample file, but that would be complicated...

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Gjakova ,

 

Could you please share some sample data and clarify more details about your requirement?

 

Regards,

Jimmy Tao

Pragati11
Super User
Super User

Hi @Gjakova ,

 

If you have a AGE column in Table A, you can create your AGE GROUPS in Table A itself.

Can you screenshot some of your sample data for Table A and Table B?

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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