Forum Discussion
rhaddad87
Helper I
4 years agoCombine 3 measures into one DAX expression?
Hi there! I currently make a new measure every time I need to alter or calculate a result to display in my tracking dashboard. Can you help me combine all of these to get the intended result? F...
- 4 years ago
Hi rhaddad87
Try this:
final200 = VAR _LastMX = CALCULATE ( MAX ( xxData[Date] ), CONTAINSSTRING ( xxData[Comments], "MX" ) ) VAR _HS200 = CALCULATE ( SUM ( xxData[Flight Hours] ), dimDate[Date] > _LastMX ) VAR _C200 = ( 200 - _HS200 )/ 18 RETURN TRUNC ( _C200 ) & " flights"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/