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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
NNaj
Helper IV
Helper IV

Trying to do this power query!

Hi All, 

 

I have this DAX code 

Column = 
VAR Xi = 'Table1'[Performance]
VAR MnX = MIN('Table1'[Performance])
VAR MxX = MAX('Table1'[Performance])
RETURN DIVIDE(Xi-MnX , MxX - MnX)

 

Trying to implement it into Power Query rather than DAX measure. Can anyone help?? 

2 ACCEPTED SOLUTIONS
tex628
Community Champion
Community Champion

Change the #"Changed Type" reference to the previous step in your query and try this:

([Performance] - 
List.Max(Table.Column( #"Changed Type" , "Performance" )))
/ 
(List.Max(Table.Column( #"Changed Type" , "Performance" )) - 
List.Min(Table.Column( #"Changed Type" , "Performance" )))


/ J


Connect on LinkedIn

View solution in original post

2 REPLIES 2
tex628
Community Champion
Community Champion

Change the #"Changed Type" reference to the previous step in your query and try this:

([Performance] - 
List.Max(Table.Column( #"Changed Type" , "Performance" )))
/ 
(List.Max(Table.Column( #"Changed Type" , "Performance" )) - 
List.Min(Table.Column( #"Changed Type" , "Performance" )))


/ J


Connect on LinkedIn

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.