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
Anonymous
Not applicable

measure in table for individual row compared to total

I am looking to create a measure to go into a table for the example data and desired result below. The measure I need would be the % Lift column. It would be the % for the individual item compared to the Total for Category B

 

CategoryItem%Total B% Lift
A150%30%67%
A255%30%83%
A360%30%100%
A465%30%117%
A570%30%133%
subtotal A 60%  
B620%  
B725%  
B830%  
B935%  
B1040%  
subtotal B 30%  
6 REPLIES 6
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

I suppose the [%] is column, not measure, you can create a measure using DAX below:

% Lift = 
VAR Total_B = CALCULATE(AVERAGE('Table'[%]), FILTER(ALL('Table'), 'Table'[Category] = "B"))
VAR Current_Percentage = MAX('Table'[%])
VAR Current_Category = MAX('Table'[Category])
RETURN
IF(Current_Category = "A", (Current_Percentage / Total_B) - 1, BLANK())

 Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Unfortuately the % calculation is a measure that is based on variables so it cannot be made into a calculated column

@Anonymous ,

 

Could you share the dax formula of measure [%]?

 

Regards,

Jimmy Tao

Anonymous
Not applicable

% = DIVIDE([SALES],[GOALS])

v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

"The measure I need would be the % Lift column. It would be the % for the individual item compared to the Total for Category B"

 

<--- Could you please use some simple formula or expression to clarify this logic?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

% lift = (% / Total B) - 1

 

 

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
Top Kudoed Authors