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
mthukara
Frequent Visitor

Need Help on DAX Formula

I need help in DAX formula for the below scneraio;

 

I have Category and value column, i need a Max value column which will repeat the max from val column irrespective of category.

 

In the below example 499 is the maximum value in val column and 499 should be for each record in max val column.

 

 

CategoryValMax Val
Cat1242499
Cat2499499
Cat3464499
Cat4104499
Cat5437499
Cat6131499
Cat7416499
Cat8156499
Cat9473499
Cat10295499
Cat11173499
Cat12478499
Cat13305499
Cat14478499
2 REPLIES 2
amitchandak
Super User
Super User

@mthukara ,

Try like

Max Val =
var _max = maxx(Table,Table[Val])
return
_max
neha369
Helper I
Helper I

 Create a calculated column with following DAX formula

 

Max Val = MAX('Table'[Val]) 

 

Thanks and Regards,

Neha Rajgadkar| BI Consultant

Nice Software SolutionsPvt. Ltd.

 

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.

Top Solution Authors