Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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! | |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 31 | |
| 30 | |
| 27 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 27 | |
| 24 | |
| 20 |