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

How to calculate MAX on a Selected ALL column?

Hi,

 

I want to create a DAX query for the below table

ModelScore
A4
B3
C2

The query should calculate = Selected Model (Score) / Max(Score) *.4
Hence

For A = 4/4*.4

For B = 3/4*.4

For C = 2/4*.4

 

IS there a way to calculate the max on a column with specific model scores like above?

 

Thanks for the help

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

CalculatedColumn = 'Table'[Score]/MAX('Table'[Score]) * .4

View solution in original post

Anonymous
Not applicable

Thanks for the solution.

I have used the above query with a slight change

Calculated Colum = 'Table'[Score]/calculate(MAX('Table'[Score], ALLSELECTED()))*0.4

 

This helps me with calculating the selected values and work with filters as well.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable
Anonymous
Not applicable

CalculatedColumn = 'Table'[Score]/MAX('Table'[Score]) * .4
Anonymous
Not applicable

Thanks for the solution.

I have used the above query with a slight change

Calculated Colum = 'Table'[Score]/calculate(MAX('Table'[Score], ALLSELECTED()))*0.4

 

This helps me with calculating the selected values and work with filters as well.

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.