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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
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.