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.
Hi Friends,
I am looking for the solution to get the unique count from the column list column which I have mentioned in the below snapshot. Thanks in advance.
Solved! Go to Solution.
Hi,
MyMeasure =
VAR MyValues =
ADDCOLUMNS( 'Table', "Paths", SUBSTITUTE( [Column1], ",", "|" ) )
VAR MyTable1 =
SELECTCOLUMNS(
GENERATE(
MyValues,
ADDCOLUMNS(
GENERATESERIES( 1, PATHLENGTH( [Paths] ) ),
"MyPaths", TRIM( PATHITEM( [Paths], [Value], TEXT ) )
)
),
"Paths", [MyPaths]
)
VAR MyTable2 =
ADDCOLUMNS( MyTable1, "Rank", RANKX( MyTable1, [Paths],,, DENSE ) )
RETURN
MAXX( MyTable2, [Rank] )
Regards
Hi,
MyMeasure =
VAR MyValues =
ADDCOLUMNS( 'Table', "Paths", SUBSTITUTE( [Column1], ",", "|" ) )
VAR MyTable1 =
SELECTCOLUMNS(
GENERATE(
MyValues,
ADDCOLUMNS(
GENERATESERIES( 1, PATHLENGTH( [Paths] ) ),
"MyPaths", TRIM( PATHITEM( [Paths], [Value], TEXT ) )
)
),
"Paths", [MyPaths]
)
VAR MyTable2 =
ADDCOLUMNS( MyTable1, "Rank", RANKX( MyTable1, [Paths],,, DENSE ) )
RETURN
MAXX( MyTable2, [Rank] )
Regards
You're welcome!
Regards
I need the solution only from DAX code.
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 |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |