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! Learn more

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

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.