Forum Discussion
Broderskap777
4 years agoFrequent Visitor
Calculate amount based on substring, show value on matching row (in a measure)
Hi, I am trying to figure out if there is any way to get the row values from one "Transaction Number" to a another "Transaction Number" in the same column. For example, I have a transaction numb...
- 4 years ago
New Measure = SUMX( VALUES('Table'[Transaction Number]), VAR _current_tr_num = 'Table'[Transaction Number] VAR _correction = "C" & _current_tr_num VAR _result = CALCULATE([Amount Measure],'Table'[Transaction Number] = _correction) RETURN _result )
SpartaBI
Community Champion
4 years agoBroderskap777 replace the LEFT with RIGHT 🙂
Broderskap777
4 years agoFrequent Visitor
hahaha it's amazing how the brain can fail you at times :')
thank you, worked like a charm!
- SpartaBI4 years ago
Community Champion
Broderskap777 my pleasure 🙂