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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AliceW
Power Participant
Power Participant

How to add the lines and not the total average of an 'Increase %' column?

Hi everyone,

Sorry, it's a confusing topic, but hear me out.

I have two tables, and one includes an 'Increase %' column, one per each 'Category'.

Say

Category: Fruits

Increase%: 5%

 

It's connected (one-to-many) with another one.

Second table:

Category: Fruits

Good: Apples

Amount: 100

 

Basically, I created a sumx(Amount) measure. Then another one for Increase%, but that one is using AVG?

It works fine for the lines (Apples are 100 * 5%), but the total is just wrong. It's calculating the AVG, and it should just add the lines.

 

Any chance of a solution, please?

 

Alice

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@AliceW ,Create a new column using related on use that in measure

 

New column in Table 2

New column Increase  = related(First[Increase%]) * [Amount])

 

 

new measure =

Measure Increase  =Sumx(Second,  related(First[Increase%]) * [Amount])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
AliceW
Power Participant
Power Participant

Yes, thank you. I went with the column.

The cherry on the cake to solve my matrix problem was to create a MEASURE, Increase = Divide(Amount/Total), and this way a matrix will have the proper totals.

amitchandak
Super User
Super User

@AliceW ,Create a new column using related on use that in measure

 

New column in Table 2

New column Increase  = related(First[Increase%]) * [Amount])

 

 

new measure =

Measure Increase  =Sumx(Second,  related(First[Increase%]) * [Amount])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors