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 August 31st. Request your voucher.

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
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

 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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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