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.
Hello, I do have 2 tables :
I'd like to count for every website the number of request that contains the current Site URL.
I tried to use a measure for that, but it seems that you can't use 2 Datatable in a measure. How can I manage this?
Thanks in advance.
I'm not entriely sure what it is you are asking. If you want to count the number of page visits using the urls supplied in the Log Table, then Power BI can do that quite easily with a number of visuals or a table. If you would like to count the website requests using the directory table url, then you may need to establish a relationship between the two tables.
One possible solution could be duplicating and then shortening the url column in your Log Table. In the Transform Data --> Power Query Editor view, you cansplit a column by a delimiter. In this case, you could do the 4th "/" from the left . From there you could create a relationship between the urls in the respective tables.
Again, not entirely sure what you are trying to do, and supplying pictures would help, but this is the first idea that came to mind. Please respond if you have any questions.
The thing is that URL in the log Table does not matfch perfectly with the Directory Table. Since that I can't create a relationship between the to tables.
Here is a snapshot of my directory table where I'd like to add a "Number of request" Column :
And Here an extract of the Log Table :
I Hope i made my request more understandable.
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 |
---|---|
63 | |
63 | |
53 | |
39 | |
25 |
User | Count |
---|---|
85 | |
57 | |
45 | |
43 | |
38 |