Forum Discussion
jananagarajan
3 years agoRegular Visitor
DAX
IF [Temp]= { Fixed [Customer ID]: MAX([Temp])} THEN Value END This is written in Tableau LOD and I would like to write the same in DAX. Data is attached Customer ID Temp Value T02 2...
- 3 years ago
You can add a new column with below DAX.
Value lof Max Temp = IF ( 'Table'[Temp] = CALCULATE ( MAX ( 'Table'[Temp] ), ALLEXCEPT ( 'Table', 'Table'[Customer ID] ) ), 'Table'[Value] )Is this what you want?
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
v-jingzhang
3 years agoCommunity Support
You can add a new column with below DAX.
Value lof Max Temp =
IF (
'Table'[Temp]
= CALCULATE ( MAX ( 'Table'[Temp] ), ALLEXCEPT ( 'Table', 'Table'[Customer ID] ) ),
'Table'[Value]
)
Is this what you want?
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.