Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
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
what you described should work fine as a calculated column in DWPROD, why not do that?
Opening time = IF ( DWPROD [ST_CODE] = "VEL"; (DWPROD [Time stamp 2] - 1800) / 3600; (DWPROD [Time stamp 2] - 3600) / 3600) )
thanks for your answer but the STP code is not supported because it's a column
Code dax
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
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
93 | |
50 | |
49 | |
46 |