Forum Discussion
Anonymous
7 years agoNot applicable
DAX: Measure if Column="SomeValue
372/5000 Hello My goal is to create a measure that contains a condition on the column (STP code) the measure does not accept the column (can not be determined. Opening time ...
- 7 years ago
Hi Anonymous
What about trying
Opening time = IF (FIRSTNONBLANK(DWPROD [ST_CODE],1)= "VEL"; CALCULATE (DWPROD [Time stamp 2] -1800) / 3600; (CALCULATE (DWPROD [Time stamp 2] - 3600) / 3600))
If this helped you, please mark this post as an accepted solution and like to give KUDOS .
Regards,
Affan
Anonymous
7 years agoNot applicable
thanks for your answer but the STP code is not supported because it's a column
Code dax
affan
Solution Sage
7 years agoHi Anonymous
What about trying
Opening time = IF (FIRSTNONBLANK(DWPROD [ST_CODE],1)= "VEL"; CALCULATE (DWPROD [Time stamp 2] -1800) / 3600; (CALCULATE (DWPROD [Time stamp 2] - 3600) / 3600))
If this helped you, please mark this post as an accepted solution and like to give KUDOS .
Regards,
Affan