Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I need to sum words from different tables. Example:
TABLE1
Column Name
FCO
FCO
FCO
MSE
MSE
TABLE2
Column Name
MCA
MCA
FCO
MSE
I need to obtain this result: Total: 9. FCO=4, MSE=3, MCA=2.
Could you help me please?
Thanks
Solved! Go to Solution.
Hi @pipignu,
Based on my test, you can firstly use the formula below to create a new union table.
Table = UNION ( SELECTCOLUMNS ( Table1, "NewColumn", Table1[Column Name] ), SELECTCOLUMNS ( Table2, "NewColumn", Table2[Column Name] ) )
Then you should be able to show the "NewColumn" and [Count of NewColumn] from the new created table on the Table visual to get your expected result.
Regards
Hi,
Using Query Editor, you can append data from both tables into a single one and then write this measure.
=COUNTROWS(Data[Names])
Hope this helps.
Hi @pipignu,
Based on my test, you can firstly use the formula below to create a new union table.
Table = UNION ( SELECTCOLUMNS ( Table1, "NewColumn", Table1[Column Name] ), SELECTCOLUMNS ( Table2, "NewColumn", Table2[Column Name] ) )
Then you should be able to show the "NewColumn" and [Count of NewColumn] from the new created table on the Table visual to get your expected result.
Regards
User | Count |
---|---|
98 | |
87 | |
77 | |
67 | |
63 |
User | Count |
---|---|
110 | |
95 | |
95 | |
64 | |
58 |