Forum Discussion
Anonymous
8 years agoNot applicable
Convert row into value
Dear DAX collegues, I stumbled over a - maybe - trivial problem, but cannot solve it: I'd like to create a measure that give the name of the product with max production duration per day. I'v...
- 8 years ago
you can use the syntax you posted as filter parameter in CALCULATE
Measure = VAR Top1 = TopN(1,'Products',Products[Minutes],DESC) RETURN CALCULATE(FIRSTNONBLANK(Products[Product],TRUE),Top1)
Stachu
8 years agoCommunity Champion
you can use the syntax you posted as filter parameter in CALCULATE
Measure = VAR Top1 = TopN(1,'Products',Products[Minutes],DESC) RETURN CALCULATE(FIRSTNONBLANK(Products[Product],TRUE),Top1)
Anonymous
8 years agoNot applicable
Great! Works absolutly fine!
Thanks, Stachu!