Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
HI, I have data refer data in column "Names". I need output which is shown in Distinct Values. I do not need Measure, need calculated column. Thanks in advance
| Names | Distinct Values |
| AABBC | 3 |
| AA | 1 |
| AB | 2 |
| DF | 2 |
| DDDE | 2 |
Solved! Go to Solution.
Minor correction.
This works with me
separateletters =
COUNTROWS (
SUMMARIZE (
ADDCOLUMNS (
GENERATESERIES ( 1, LEN ( [Names] ) ),
"letter", MID ( [Names], [Value], 1 )
),
[letter]
)
)
Try this calculated column
separateletters =
COUNTROWS (
SUMMARIZE (
ADDCOLUMNS (
GENERATESERIES ( 1, LEN ( [Names] ) ),
"letter", MID ( [Text], [Value], 1 )
),
[letter]
)
)
Minor correction.
This works with me
separateletters =
COUNTROWS (
SUMMARIZE (
ADDCOLUMNS (
GENERATESERIES ( 1, LEN ( [Names] ) ),
"letter", MID ( [Names], [Value], 1 )
),
[letter]
)
)
Hey, Thanks
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.