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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.