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.
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
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 |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
142 | |
108 | |
101 | |
81 | |
74 |