Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Dear ALL,
For a report, I want to achieve concat with the count. Please provide a solution on DAX measure for power pivot.
Result/Output
Name | RegionCount |
Anil | A1(2),A2(2) |
Sunil | A1(2),A2(2) |
Table
Name | Region |
Anil | A1 |
Anil | A1 |
Anil | A2 |
Anil | A2 |
Sunil | A1 |
Sunil | A1 |
Sunil | A2 |
Sunil | A2 |
Solved! Go to Solution.
@Sudbrl you can do this
Measure 2 =
CONCATENATEX (
ADDCOLUMNS (
SUMMARIZE ( 'fact', 'fact'[Name], 'fact'[Region] ),
"result",
[Region] & "," & "("
& CALCULATE (
DISTINCTCOUNT ( 'fact'[Region] ),
ALLEXCEPT ( 'fact', 'fact'[Name] )
) & ")"
),
[result],
",",
[Name]
)
@Sudbrl you can do this
Measure 2 =
CONCATENATEX (
ADDCOLUMNS (
SUMMARIZE ( 'fact', 'fact'[Name], 'fact'[Region] ),
"result",
[Region] & "," & "("
& CALCULATE (
DISTINCTCOUNT ( 'fact'[Region] ),
ALLEXCEPT ( 'fact', 'fact'[Name] )
) & ")"
),
[result],
",",
[Name]
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.