Forum Discussion
Filter contexts with constants
- 7 years ago
Hi pcav ,
Believe that you need to make changes on in order to force your working orders to get the IN from the enginners table try this code:
WorkingHours IN = IF ( CALCULATE ( [Hours Booked]; Engineers[Discipline] = "IN" ) = BLANK (); BLANK ();) [Working Hours])In this measure I'm checking if the Booked hours are equal to IN if not will return blank for your measure, we are forcing the filter you added in the table visual for IN.
Regards,
MFelix
Hi pcav ,
Believe that you need to make changes on in order to force your working orders to get the IN from the enginners table try this code:
WorkingHours IN =
IF (
CALCULATE ( [Hours Booked]; Engineers[Discipline] = "IN" )
= BLANK ();
BLANK ();)
[Working Hours])
In this measure I'm checking if the Booked hours are equal to IN if not will return blank for your measure, we are forcing the filter you added in the table visual for IN.
Regards,
MFelix
Thanks very much for taking the time to reply.
This works just great and is MUCH better that the solution I came up with
Regards