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.
I have tables like this:
Table 1
Custom | Act Qty | Act Rev |
11223344 | 323 | 221 |
22334455 | 2442 | 2223 |
111222333 | 453 | 214 |
22334455 | 4545 | 454 |
Table 2
Custom | Plan Qty | Plan Rev |
AABBCCDD | 2422 | 2324 |
111222333 | 453 | 214 |
11223344 | 122 | 229 |
22334455 | 4545 | 454 |
I would like to summarize the two tables seperately. And then merge the two tables with Custom being the common column resulting in 5 columns.
Hi,
I believe that the ideal structure to have is where you have a single table. Rename the second and third columns to Qty and Rev. In both tables insert a column (titled as Nature) with Actual and Plan entries in that column. In the Query Editor, append the two tables.
By adding
custom = distinct(union(distinct(Table[Custom]),distinct(Table[Custom])))
I am seeing one custom column. In the same dimension/table, I wish to see the ACT QTY, ACT Volume, Plan QTY, Plan Volume.
@Anonymous , Create a common dimension custom and join with both tables
custom = distinct(union(distinct(Table[Custom]),distinct(Table[Custom])))
use that to analyze. You can individual measure from both tables and combine one as per need
m1= Sum(Table1[Act Qty])
M2 = sum(Table2[Plan Qty])
M3 = [m1] +[m2]
custom = distinct(union(distinct(Table[Custom]),distinct(Table[Custom])))
I am seeing one custom column. In the same dimension/table, I wish to see the ACT QTY, ACT Volume, Plan QTY, Plan Volume.
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |