We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello All,
I have 2 tables as follows:
Table 1
Month Year URL Unique Visitors(Search Engine)
Table 2
Month Year URL Unique Visitors(All sources)
I want to pull the "Unique Visitors(From all sources)" from Table 2 to Table 1 for the avaiable URLs of it.
Solved! Go to Solution.
Thank you raji_n
Hi, @utsavlexmark
Based on your description, I've created the following two tables:
table1:
table2:
Using the DAX expression you provided does bring up the problem you mentioned, as shown in the image below:
To do this, I've changed the expression to look like this, and I've matched the corresponding 'Table 2'[Unique Visitors (All sources)] with the month by URL:
Column 2 = LOOKUPVALUE(
'Table 2'[Unique Visitors (All sources)],
'Table 2'[URL],
'Table 1'[URL],
'Table 2'[Month],
'Table 1'[Month],
0
)
I've provided the PBIX file used this time below.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you raji_n
Hi, @utsavlexmark
Based on your description, I've created the following two tables:
table1:
table2:
Using the DAX expression you provided does bring up the problem you mentioned, as shown in the image below:
To do this, I've changed the expression to look like this, and I've matched the corresponding 'Table 2'[Unique Visitors (All sources)] with the month by URL:
Column 2 = LOOKUPVALUE(
'Table 2'[Unique Visitors (All sources)],
'Table 2'[URL],
'Table 1'[URL],
'Table 2'[Month],
'Table 1'[Month],
0
)
I've provided the PBIX file used this time below.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
This is working for me, but there is a small issue and I think you can guide me.
As per your suggestion - column 2 is working, but I had to select "Don't Summarize" option from setting. But if that happened - the total is not showing.
How to solve this?
Regards
Utsav
@utsavlexmark use firstnonblank() to lookup, the error is due to availability of multiple matches for your keys
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 63 | |
| 37 | |
| 34 | |
| 22 |