This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
I have a questions and hope you can help me.
I have a transaction table and would like to identify the unique account combinations (I call it sets) and count the number of unique transactions for each set.
So the table above includes 3 different account sets:
The calculated table should be like:
Thanks in advance.
Regards,
Solved! Go to Solution.
Create a table by using the DAX below.
Table =
SUMMARIZE (
'Transaction',
'Transaction'[TransactionID],
"ConcatAccountID", CONCATENATEX ( 'Transaction', 'Transaction'[AccountID], "&" )
)
Create a table by enter data
Create a calculated column.
count =
CALCULATE (
COUNT ( 'Table'[TransactionID] ),
FILTER ( 'Table', 'Table'[ConcatAccountID] = Table1[AccountID] )
)
Regards,
Charlie Liao
Create a table by using the DAX below.
Table =
SUMMARIZE (
'Transaction',
'Transaction'[TransactionID],
"ConcatAccountID", CONCATENATEX ( 'Transaction', 'Transaction'[AccountID], "&" )
)
Create a table by enter data
Create a calculated column.
count =
CALCULATE (
COUNT ( 'Table'[TransactionID] ),
FILTER ( 'Table', 'Table'[ConcatAccountID] = Table1[AccountID] )
)
Regards,
Charlie Liao
Hi Charilie,
Thank you for you reply.
I was hoping to avoid using CONCATENATEX due to the performance issues when I try to analyse +1M transactions but I guess there are no other alternatives at the moment. The solution you provided works for me. I'm going to change it slightly and use SUMMARIZECOLUMN instead.
Thanks again!
Regards,
Asil
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 27 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 25 | |
| 25 |