The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have two tables, where one table has customer scores by month and categories and the other one with monthly revenue. Majority of my visuals are using the second table, and I would like to create a scatter plot graph that shows the distribution of revenue and scores. To do this, I have to match the two tables via account ID and month. Because of the categories in table 1, IDs and Month's repeat, thus I cannot use a LOOKUPVALUE. I tried creating measures with filters but they didn't work either. Below are my two tables:
Table 1:
Account ID | Category | Month | Score |
1001 | Security | June 2021 | 82% |
1001 | Compliance | June 2021 | 78% |
1001 | Other | June 2021 | 91% |
1002 | Security | June 2021 | 45% |
10020 | Other | June 2021 | 78% |
Table 2:
ID | Month | Revenue |
1001 | June 2021 | $100 |
1002 | June 2021 | $105 |
10030 | June 2021 | $124 |
I also tried creating a temporary table within my measure that summarizes table 1 into ID and Month, but that didn't work either. How can I create a measure that links both of these tables together so I can see the distribution of revenue and scores on an ID level?
Solved! Go to Solution.
Hi @byr10112
I believe, there are many ways to solve the requirement, most easy way is
CONCATENATE ID and Month Column in both table
Use the LOOKUPVALUE function to bring Revenue Data in Table1
or Marge Table in Power Query with the CONCATENATE resulted column
If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos
Proud to be a Super User! | |
Hi @byr10112
I believe, there are many ways to solve the requirement, most easy way is
CONCATENATE ID and Month Column in both table
Use the LOOKUPVALUE function to bring Revenue Data in Table1
or Marge Table in Power Query with the CONCATENATE resulted column
If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos
Proud to be a Super User! | |
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
80 | |
77 | |
43 | |
39 |
User | Count |
---|---|
150 | |
117 | |
67 | |
64 | |
56 |