Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bschmiedeler
Frequent Visitor

Use DAX to breakdown iOS and Android OS versions

I have an Azure SQL file that lists mobile devices. One field is the DeviceOS, which is formated as follows:

 

Android 8.0.0

iOS 12.4.0

Android 7.1.2

 

and so on.

 

I created a new column with the following DAX formula: 

 

DevOSAndroidiOS = If (Left(Device[DeviceOS],3) = "iOS","iOS","Android")
 
So I can seee the total number of iOS versions and Android versions.
 
However, I am stumped on how to extract the number of different iOS version, and number of different Android versions. So if I have 100 iOS devices, I would like to know how many iOS 12.x, iOS 11.x, and iOS 10.x versions (we only support iOS version 10.x and above). So if we have 50 iOS 12 and 25 iOS 11 and 25 iOS 10 versions, I want to have those numbers and the percent of the iOS total. Same with Android. 
 
Cannot figure out how to do this?
 
Any help would be greatly appreciated.
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bschmiedeler,


My suggestion is:
1) Using PowerQuery;
2) Split column "DeviceOS" by Delimeter;
3) Select "Space" as delimiter;
4) Split at Right-most delimiter;

image.png

 

5) Change the second column type, from "Int64.Type" to "type text"

From:
image.png

 

To:image.png

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @bschmiedeler,


My suggestion is:
1) Using PowerQuery;
2) Split column "DeviceOS" by Delimeter;
3) Select "Space" as delimiter;
4) Split at Right-most delimiter;

image.png

 

5) Change the second column type, from "Int64.Type" to "type text"

From:
image.png

 

To:image.png

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors