Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello
In my company we have a "Company Info" table and a "Sales" table. Each row of the Sales table is an order line containing Company ID, Job type, revenue and date.
We want to track which companies are buying which jobs.
Example of tables:
Company Table:
Company ID |
10001 |
10002 |
10003 |
10004 |
10005 |
10006 |
10007 |
10008 |
10009 |
10010 |
10011 |
10012 |
10013 |
10014 |
10015 |
10016 |
10017 |
Sales Table:
Company ID | Job Type | Revenue | Date |
10001 | A | 100 | 10-08-2019 |
10001 | A | 100 | 10-08-2019 |
10001 | A | 100 | 10-08-2019 |
10001 | B | 100 | 10-08-2019 |
10001 | B | 100 | 10-08-2019 |
10001 | C | 100 | 10-08-2019 |
10001 | C | 100 | 10-08-2019 |
10001 | D | 100 | 10-08-2019 |
10001 | D | 100 | 10-08-2019 |
10001 | E | 100 | 10-08-2019 |
10001 | E | 100 | 10-08-2019 |
10001 | F | 100 | 10-08-2019 |
10001 | F | 100 | 10-08-2019 |
10001 | A | 100 | 10-08-2019 |
10001 | A | 100 | 10-08-2019 |
10001 | A | 100 | 10-08-2019 |
10001 | B | 100 | 10-08-2019 |
10001 | B | 100 | 10-08-2019 |
10001 | C | 100 | 10-08-2019 |
10001 | C | 100 | 10-08-2019 |
10001 | D | 100 | 10-08-2019 |
10001 | D | 100 | 10-08-2019 |
10001 | E | 100 | 10-08-2019 |
10001 | E | 100 | 10-08-2019 |
10001 | F | 100 | 10-08-2019 |
10001 | F | 100 | 10-08-2019 |
10001 | A | 100 | 10-08-2019 |
For instance, Job type "F" is important for us to track, so if just ANY row in the sales table is the Job Type "F", then mark the Company table with "F"=yes.
So ideally input, since Company 10001 is buying Job type F, the company table should say:
Company ID | F Job |
10001 | Yes |
Possible?
Solved! Go to Solution.
Hi @PeterStuhr
Of course, it's possible, please find the attached file with the solution included.
You will be able to use the UI for most of the steps, but some manula M interference will be necessary.
In the file, you will see two tables that I have a reference to the Sales table, one contaning original code built with UI and second with manually adjusted M code, I have marked the steps in this table so it's easier to see where you will need to make the adjustments.
Hi @PeterStuhr
Of course, it's possible, please find the attached file with the solution included.
You will be able to use the UI for most of the steps, but some manula M interference will be necessary.
In the file, you will see two tables that I have a reference to the Sales table, one contaning original code built with UI and second with manually adjusted M code, I have marked the steps in this table so it's easier to see where you will need to make the adjustments.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |