Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have two tables aggregated from two sources each: table 1 and table 2
In table 1 i have columns: unit code (unique and not repeating), number of subscribers 1
In table 2 i have columns: unit code (can repeat for some rows), number of subscribers 2, chanel health (has three possible values: good, weak, excellent)
I want to create a merge table which will link these two tables based on unit code and give as a result a table containing the following columns: Unit code, number of subscribers 1, number of subscribers 2, chanel health
Using DAX expression in Power BI, I tried this: Merged_Table = NATURALINNERJOIN(table 1, table 2) but it says: No common join columns detected. although unit code is a commun column......
Can you help me please I am blocked
Thanks
Hello @Anonymous ,
use lookup value to get column from another table based on a common column.
https://learn.microsoft.com/en-us/dax/lookupvalue-function-dax
Proud to be a Super User! | |
How can I add a column from source 1 in the legend for clustered column chart please??? Knowing that the column to add exists in both sources
Sorry that did not work... Can you please give me an example of a power query to do the merge? I can't establish the merge because my key is not unique so I am really struggling
It because my aggregated tables 1 and 2 does not show at all in power query editor... I only have the sources tables A and B to which no filter was applied. Table 1 and 2 are filter versioin of A and B respectively
Hello @Anonymous ,
why don't you make it through power query, its much easier and straight forward.
check this out https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-shape-and-combine-data
Proud to be a Super User! | |
It because my aggregated tables 1 and 2 does not show at all in power query editor... I only have the sources tables A and B to which no filter was applied. Table 1 and 2 are filter versioin of A and B respectively
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |