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.
Hi,
The below measure sums [Charged_Hrs] only when 'ClientsList'[ClientMH3Name] = "HSE Cover".
How do I modify this to sum [Charged_Hrs] only when 'ClientsList'[ClientMH3Name] = "HSE Cover"
OR
'ClientsList'[USER5] = "HSE Cover"
Cover Hrs =
CALCULATE (
CALCULATE (
CALCULATE (
SUM ( vw_ShowChargesAndPayForVisits[Charged_Hrs] ),
FILTER ( 'ClientsList', FIND ( "HSE Cover", 'ClientsList'[User5],, 0 ) ),
FIND ( "HSE Cover", 'ClientsList'[ClientMH3Name],, 0 )
),
USERELATIONSHIP ( 'Year'[Year], vw_ShowChargesAndPayForVisits[Year] )
),
USERELATIONSHIP ( 'Week'[Week], vw_ShowChargesAndPayForVisits[Weeks] )
)
Solved! Go to Solution.
Hi @Qotsa ,
If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!
Best regards,
Dina Ye
Hi @Qotsa
Please use the formula below instead:
Cover Hrs = CALCULATE ( CALCULATE ( CALCULATE ( SUM ( vw_ShowChargesAndPayForVisits[Charged_Hrs] ), FILTER ( ClientsList, FIND ( "HSE Cover", 'ClientsList'[User5],, 0 ) || FIND ( "HSE Cover", 'ClientsList'[ClientMH3Name],, 0 ) ), USERELATIONSHIP ( 'Year'[Year], vw_ShowChargesAndPayForVisits[Year] ) ), USERELATIONSHIP ( 'Week'[Week], vw_ShowChargesAndPayForVisits[Weeks] ) ) )
Best regards,
Dina Ye
Hi @Qotsa ,
If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!
Best regards,
Dina Ye
Works great. TY.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |