The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance 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 🙂
User | Count |
---|---|
78 | |
74 | |
43 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |