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! Learn more

Reply
rmartin1
Frequent Visitor

Dax formula help

Hi All, I was wonder if you can provide some help with dax formula is not working when I drop it in custom column. 

 

 

Update Status =
IF (
[Operating System] = "Windows 10" && [OS Version] >= 2604 ||
[Operating System] = "Windows Server 2012" && [OS Version] >= 20821 ||
[Operating System] = "Windows Server 2019" && [OS Version] >= 4010 ||
[Operating System] = "Windows Server 2016" && [OS Version] >= 5717 ||
[Operating System] = "Oracle Enterprise Linux" && [OS Version] >= 88 ||
[Operating System] = "Red Hat Enterprise Linux" && [OS Version] >= 88 ||
[Operating System] = "Fedora Linux" && [OS Version] >= 37 ||
[Operating System] = "Debian Linux" && [OS Version] >= 17,
"Updated",
IF (
[Operating System] IN {"macOS Ventura", "macOS Big Sur", "macOS Monterey"},
[Update],
"Not Updated"
)
)

 

Thanks 

3 REPLIES 3
Anonymous
Not applicable

@rmartin1 
Try this Dax and check

Update Status =
IF (
[Operating System] = "Windows 10" && [OS Version] >= 2604 ||
[Operating System] = "Windows Server 2012" && [OS Version] >= 20821 ||
[Operating System] = "Windows Server 2019" && [OS Version] >= 4010 ||
[Operating System] = "Windows Server 2016" && [OS Version] >= 5717 ||
[Operating System] = "Oracle Enterprise Linux" && [OS Version] >= 88 ||
[Operating System] = "Red Hat Enterprise Linux" && [OS Version] >= 88 ||
[Operating System] = "Fedora Linux" && [OS Version] >= 37 ||
[Operating System] = "Debian Linux" && [OS Version] >= 17,
"Updated",
IF (
[Operating System] IN {"macOS Ventura", "macOS Big Sur", "macOS Monterey"} &&
NOT(ISBLANK([Update])),
"Updated",
"Not Updated"
)
)

rmartin1
Frequent Visitor

my goal is

 

Column Name: Update Satus = IF [Operating System] = "Windows 10" and [OS Version] >= 2604 then "Updated"  elseif [Operating System] = "Windows 2012" and [OS Version] >= 20821 then "Updated" elseif [Operating System] = "Windows 2019" and [OS Version] >= 4010 then "Updated" else "Not Updated"

hi @rmartin1 

try like:

Column = 
IF(
    ([Operating System] = "Windows 10" && [OS Version] >= 2604)
        || ([Operating System] = "Windows 2012" && [OS Version] >= 20821)
        || ([Operating System] = "Windows 2019" and [OS Version] >= 4010),
    "Updated",
    "Not Updated"
)

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.