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,
I am trying to make a measure that will allow me to get all the visitors to pages that contain any page as follows: /good-driving/, /car/, and /car-insurance/.
This was my attempt and it is not working:
Solved! Go to Solution.
Hi @jnrezk ,
Please try below code:-
Pre Sale Visitors =
CALCULATE (
DISTINCTCOUNT ( 'GA Online Performance'[fullVisitorId] ),
CONTAINSSTRING ( 'GA Online Performance'[PagePath], "/good-driving/" )
|| CONTAINSSTRING ( 'GA Online Performance'[PagePath], "/car/" )
|| CONTAINSSTRING ( 'GA Online Performance'[PagePath], "/car-insurance" )
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @jnrezk ,
Please try below code:-
Pre Sale Visitors =
CALCULATE (
DISTINCTCOUNT ( 'GA Online Performance'[fullVisitorId] ),
CONTAINSSTRING ( 'GA Online Performance'[PagePath], "/good-driving/" )
|| CONTAINSSTRING ( 'GA Online Performance'[PagePath], "/car/" )
|| CONTAINSSTRING ( 'GA Online Performance'[PagePath], "/car-insurance" )
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
awesome. Thanks for the quick answer 🙂
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
38 | |
31 | |
26 |