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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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