Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I have a query which in the area it has values of
project Area
1 ncsa
2 mena
3 apac
4 earc
5 ncsa
I would like to split each row based on the area into a table that counts the number of projects based on the area. for example,
table 1
# of projects in area area
5 mena
3 apac
how can I split my query or use DAX to create a new table
Solved! Go to Solution.
Hi @Anonymous
The example is a bit confusing. I'm not sure I understand correctly. Create a new calculated table:
NewTable =
ADDCOLUMNS (
DISTINCT ( Table1[Area] ),
"NumProjects", CALCULATE ( COUNT ( Table1[project] ) )
)
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers ![]()
Hi @Anonymous
The example is a bit confusing. I'm not sure I understand correctly. Create a new calculated table:
NewTable =
ADDCOLUMNS (
DISTINCT ( Table1[Area] ),
"NumProjects", CALCULATE ( COUNT ( Table1[project] ) )
)
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers ![]()
You can get the count of uniqe projects using this measure.
# of projects in area = DISTINCTCOUNT ( YourTable[project] )
Then you would add the area and that measure into a table visual to get the project count by area.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 48 | |
| 34 | |
| 31 | |
| 29 |