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 Team ,
I need duplicate values count in calculated column using Name and business line Column .
please find below Example Input -
In below table - name is DA and busness line is A , B , C so i want dax calulated column based on this two column .
only .
| Name | Market | date | Business line | Value |
| DA | UK | 18-9-22 | A | 10 |
| DA | UK | B | 20 | |
| DA | UK | 19-9-22 | C | 30 |
| XYZ | Singapore | 25-9-22 | A | 40 |
| AD | Dubai | 25-9-22 | B | 50 |
| ACF | 27-9-22 | B | 10 | |
| OM | India | 25-9-22 | A | 10 |
| OM | India | 30-9-22 | B | 10 |
Expected output -
In belw table calculated column is my output -
Explanation - Name - "DA" showing 3 time under the business line A, B, C ,so count is 3 .
Same for XYZ is showing buiness line A so my count is 1 .
Kindly help me to wirite a Calulated column dax , so i am find multiple buiness line aginst Name and singale busine line .
| Name | Market | date | Business line | Value | Caluclated column | |
| DA | UK | 18-9-22 | A | 10 | 3 | |
| DA | UK | B | 20 | 3 | ||
| DA | UK | 19-9-22 | C | 30 | 3 | |
| XYZ | Singapore | 25-9-22 | A | 40 | 1 | |
| AD | Dubai | 25-9-22 | B | 50 | 1 | |
| ACF | 27-9-22 | B | 10 | 1 | ||
| OM | India | 25-9-22 | A | 10 | 2 | |
| OM | India | 30-9-22 | B | 10 | 2 |
Thank you .
Solved! Go to Solution.
Try
Num rows =
CALCULATE ( COUNTROWS ( 'Table' ), ALLEXCEPT ( 'Table', 'Table'[Name] ) )
Try
Num rows =
CALCULATE ( COUNTROWS ( 'Table' ), ALLEXCEPT ( 'Table', 'Table'[Name] ) )
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 |
|---|---|
| 36 | |
| 28 | |
| 28 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 33 | |
| 25 | |
| 24 |