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.
In short, I have a list of unsorted rows. I would like to group them by category (disposable mens, womens systems, etc) and then seperate them by their unique category in their rows, similar to the excel sheet picture below.
I know their is a dax search function to organize them into categories, but I do not know how to place the rows together under the main blue title
All help appreciated
Solved! Go to Solution.
You can create a conditional column to look for your categories in the other column (this is dummy data)
Then use the matrix visual to achieve what you need (put category and stuff in the rows)
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _sum=
SUMMARIZE(
'Table',
"MANUAL SHAVE","A",
"Sales",CALCULATE(SUM('Table'[Sales]),FILTER(ALL('Table'),CONTAINSSTRING('Table'[MANUAL SHAVE],"A"))))
return
UNION('Table',_sum)
Table 3 =
var _sum=
SUMMARIZE(
'Table',
"MANUAL SHAVE","B",
"Sales",CALCULATE(SUM('Table'[Sales]),FILTER(ALL('Table'),CONTAINSSTRING('Table'[MANUAL SHAVE],"B"))))
return
UNION('Table 2',_sum)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Table 2 =
var _sum=
SUMMARIZE(
'Table',
"MANUAL SHAVE","A",
"Sales",CALCULATE(SUM('Table'[Sales]),FILTER(ALL('Table'),CONTAINSSTRING('Table'[MANUAL SHAVE],"A"))))
return
UNION('Table',_sum)
Table 3 =
var _sum=
SUMMARIZE(
'Table',
"MANUAL SHAVE","B",
"Sales",CALCULATE(SUM('Table'[Sales]),FILTER(ALL('Table'),CONTAINSSTRING('Table'[MANUAL SHAVE],"B"))))
return
UNION('Table 2',_sum)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
You can use a matrix visual to achieve the second part. There are a number of ways to categorize them although if I were you, I'd probably do it in PowerQuery instead of DAX.
why power query because using the group by does not include the dax search and i need to look for key words to group them in the categories
also for the matrix visual is still do not know what you mean how can i group them
You can create a conditional column to look for your categories in the other column (this is dummy data)
Then use the matrix visual to achieve what you need (put category and stuff in the rows)
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.
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |