Forum Discussion
Anonymous
6 years agoNot applicable
How to use a dynamic string variable
Hi guys, Hope you can help me, i have this table: the data is not always sorted so, i am looking for the operator name where the id is the highest: this the following i was able to get ...
- Anonymous6 years ago
Hi Anonymous ,
Please try to create a calculated column with below formula to replace the original measure:
Column = VAR _topclient = CALCULATE ( MAX ( 'Well List'[Operator] ), FILTER ( ALL ( 'Well List' ), 'Well List'[WellID] = MAX ( 'Well List'[WellID] ) ) ) RETURN IF ( 'Well List'[Operator] = _topclient, 1, 0 )Best Regards
Rena
Greg_Deckler
6 years agoCommunity Champion
Anonymous - Not sure I completely understand, but perhaps this:
Measure = IF(MAX([Operator]) = [_CURRENT],1,0)