Forum Discussion
Anonymous
4 years agoNot applicable
Merge two rows (having a different cell value) into a single row; overwrite values for text
Hello, I want to merge rows when duplicate "Task" value is found; and overwrite text from one "Response" value to another cellwhen Scaled Value is "-1.00". For example, see below two rows: In...
VahidDM
Super User
4 years agoHi Anonymous
Try this DAX code to add a new table:
Table 2 =
SUMMARIZE(
'Table',
'Table'[Instance],
'Table'[Assigned to],
'Table'[Taken on],
'Table'[Task],
'Table'[Assignment group],
'Table'[Comments and Work notes],
"Response",
CALCULATE(
MAX( 'Table'[Response] ),
ALL( 'Table' ),
'Table'[Scaled value] = -1
),
"Scale Value", MAX( 'Table'[Scaled value] )
)
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/