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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ganchevd
Helper I
Helper I

Calculate the difference from the MAX value in a column

Hi,

 

I have an issue with the MAX value formulas in Power BI. I use it quite simple in Excel but it is different in Power BI. So the Excel formula I use looks like: =C2/MAX($C$2:$C$27). which I use to measure all the customers to the one with highes revenue for me. Here is the sample table:

CustomerRevAnnualRanking
A249 5550.17
B438 2880.29
C1 495 9951.00
D196 1240.13
E149 7050.10
F151 1670.10
H107 8100.07
I174 6980.12
J123 4900.08
K154 0950.10
L135 0930.09
M118 2230.08
N168 2220.11
O201 8190.13
P177 1260.12
Q695 8920.47
R145 8660.10
S283 4750.19
T158 2900.11
U307 1960.21
V114 6650.08
W218 9400.15
X134 4890.09
Y227 2150.15
Z117 0360.08
AA210 7600.14

 

In the attached table the RevAnnual is a Measure column in my report. Can someone help me figure out how to do this? Thank you in advance

2 ACCEPTED SOLUTIONS
PattemManohar
Community Champion
Community Champion

@ganchevd Here it is..

 

Ranking = TestMax[RevAnnual]/MAX(TestMax[RevAnnual])

 image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

19 REPLIES 19

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.