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.
So, I think it's a simple problme, but I can't resolve it on time.
I have a table A with two columns: Employee and Code.
And table two with two columns too: Code and Course.
Table 1:
Table 2:
I want to make a third column joining the info from table 2 to table 1, but not on Power Query it has to be with DAX.
The final result is something like this:
Can anyone help, please?
Solved! Go to Solution.
NewTable=GENERATE(Table1,CALCUATETABLE(VALUES(Table2[Course]),TREATAS(VALUES(Table1[Code]),Table2[Code])))
NewTable=GENERATE(Table1,CALCUATETABLE(VALUES(Table2[Course]),TREATAS(VALUES(Table1[Code]),Table2[Code])))
It works. Thank you!!
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
9 | |
6 |