I’ve managed to get to the end result I’m looking for in TtlApptHours but my path there seems pretty clunky so wondering if there was a more direct path that I missed along the way.
I need to calculate how may ‘appointment’ hours were served during a week recognizing some appts are 30 minutes (defined within appointment type) and all others are 60 minutes.
I tried a number of ways within 1 dax statement but as a beginner I couldn’t quite get to the right result thus the step by step measures.
Step by step works but I have to believe there’s a more direct path to this same result for TTLApptHours.
You can use the “Variables Technique” to achieve the results here. Below is the formula provided for the reference where everything is put under the one single measure rather than creating multiple measures.
If you observe I’ve put all your formulas into one measure by following the very same logic. And the final results are same. Below is the screenshot of the results provided for the reference -