Forum Discussion
karimkz
9 years agoAdvocate I
DAX reference to current row value??
Hello! I can't find a solution for this lilttle problem. Here is the dataset, it has Units and Performance. I want to make a calculated column with a Maximum Performance for each distinct Unit. (...
- 9 years ago
Hi karimkz,
if you are using calculated column:
maximum = CALCULATE(MAX(table[performance]),filter(all(table), table[unit] = earlier(table[unit]) ) ))
(earlier/earliest will return current row in calculated column expression)
Spurta
8 years agoFrequent Visitor
Did you ever figure out how to incorporate this into a Measure? I'm struggling with something similar.
markus_zhang
7 years agoAdvocate III
Hopefully you guys figured this out, amazing how difficult to get this simple stuff done in the context of Power Pivot. I really think they should blend the functionalities of Excel and Power Pivot all together. There are things that can be done in 5 seconds in Excel, but would take 5 days to learn to how to get in PP, and vice versa.