Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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]
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |