This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Is there a way of grouping software and ignoring version numbers in power BI?
As an example we have a sheet full of software eg say Visio 2010, Visio 2014 etc but I want to count the total amount of numbers of the software name?
Solved! Go to Solution.
Hi! I suggest having your software name as two fields in your dim table, one field for Base name and one for the year, then you can do a distinct count on the name.
Proud to be a Super User! | |
let
s = Text.From([SoftwareName]),
s1 = Text.Select(s, {"A".."Z","a".."z"," "}),
s2 = Text.Trim(Text.Combine(List.Select(Text.Split(s1, " "), each _ <> ""), " "))
in
s2
Software Base =
VAR s = 'Software'[SoftwareName]
VAR L = LEN(s) + 1
VAR pos =
MINX(
{
FIND("0", s, 1, L),
FIND("1", s, 1, L),
FIND("2", s, 1, L),
FIND("3", s, 1, L),
FIND("4", s, 1, L),
FIND("5", s, 1, L),
FIND("6", s, 1, L),
FIND("7", s, 1, L),
FIND("8", s, 1, L),
FIND("9", s, 1, L)
},
[Value]
)
RETURN TRIM( IF(pos = L, s, LEFT(s, pos - 1)) )
Total Installs = COUNTROWS('Software')
-- or
Unique Devices = DISTINCTCOUNT('Software'[DeviceID])
let
s = Text.From([SoftwareName]),
s1 = Text.Select(s, {"A".."Z","a".."z"," "}),
s2 = Text.Trim(Text.Combine(List.Select(Text.Split(s1, " "), each _ <> ""), " "))
in
s2
Software Base =
VAR s = 'Software'[SoftwareName]
VAR L = LEN(s) + 1
VAR pos =
MINX(
{
FIND("0", s, 1, L),
FIND("1", s, 1, L),
FIND("2", s, 1, L),
FIND("3", s, 1, L),
FIND("4", s, 1, L),
FIND("5", s, 1, L),
FIND("6", s, 1, L),
FIND("7", s, 1, L),
FIND("8", s, 1, L),
FIND("9", s, 1, L)
},
[Value]
)
RETURN TRIM( IF(pos = L, s, LEFT(s, pos - 1)) )
Total Installs = COUNTROWS('Software')
-- or
Unique Devices = DISTINCTCOUNT('Software'[DeviceID])
Hi! I suggest having your software name as two fields in your dim table, one field for Base name and one for the year, then you can do a distinct count on the name.
Proud to be a Super User! | |
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 28 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 29 | |
| 25 | |
| 24 |