Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello, I am having two tables in below format (sample) one for Nov Rate and one for December rate. I need to create report combining these two tables.
How can i map two tables when there is no unique columns values to map these tables.?
Also, I need to add aditional columns after merging two tables?
Subscription | InstanceID | Category | November Rate |
Sub1 | 123 | ABC | 10 |
Sub1 | 123 | DEF | 10 |
Sub2 | 1234 | ABC | 10 |
Sub3 | 456 | XYZ | 10 |
Subscription | InstanceID | Category | DEC Rate |
Sub1 | 123 | ABC | 10 |
Sub1 | 123 | DEF | 10 |
Sub2 | 1234 | ABC | 10 |
Sub3 | 456 | XYZ | 10 |
Solved! Go to Solution.
Hi @mrvamsidhar,
As per my understaning, you are trying to merge two tables which means you want a new table containing all the columns in Nov Table and Dec Table, right?
If that is the case, to address the problem that there is no unique column values to map tables, you can combine three columns into a single one as unique column.
Repeat above step in Dec Table. Then, you can merge these two tables.
Alternatively you can achieve the same result using DAX. Just use LookUp value to fetch the [DEC Rate] from Dec Table and insert into Nov Table.
December Rate = LOOKUPVALUE ( Dec[DEC Rate], Dec[Subscription], Nov[Subscription], Dec[InstanceID], Nov[InstanceID], Dec[Category], Nov[Category] )
To your second requirement, what do you mean add aditional columns after merging two tables? What aditional columns do you want to add? You can add calculated column via writing DAX formula. Also, in query editor, under the Add Column pane in the top ribbon, you can select to create custom columns.
If I have something misunderstood, please correct me and provide more description about your expect result.
Thanks,
Yuliana Gu
Cool My dear friend ,
We can go with Power Query, in there we can merge the two tables
Thank You very much. It helped me.
I had one more question on custome column- http://community.powerbi.com/t5/Desktop/Adding-Custom-Column-Parsing-Existing-Column/td-p/111618.
Can you help me on this?
Hi @mrvamsidhar,
As per my understaning, you are trying to merge two tables which means you want a new table containing all the columns in Nov Table and Dec Table, right?
If that is the case, to address the problem that there is no unique column values to map tables, you can combine three columns into a single one as unique column.
Repeat above step in Dec Table. Then, you can merge these two tables.
Alternatively you can achieve the same result using DAX. Just use LookUp value to fetch the [DEC Rate] from Dec Table and insert into Nov Table.
December Rate = LOOKUPVALUE ( Dec[DEC Rate], Dec[Subscription], Nov[Subscription], Dec[InstanceID], Nov[InstanceID], Dec[Category], Nov[Category] )
To your second requirement, what do you mean add aditional columns after merging two tables? What aditional columns do you want to add? You can add calculated column via writing DAX formula. Also, in query editor, under the Add Column pane in the top ribbon, you can select to create custom columns.
If I have something misunderstood, please correct me and provide more description about your expect result.
Thanks,
Yuliana Gu
Hello, Any update on this please?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |