Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello all,
I have this table populated with data.
In this table are computers with their Operating System versions.
What I want to achieve is to create a new table "OS Version Mapping" with all unique values of column OSVersionCheck filtered on operatingSystem which need to contain the string "Windows". Additionally, I want to add a manual column called "End of Support Date" where I will manually enter the end of support date for that unique OS version.
I tried the following but got only unique rows.
OS Version Mapping = FILTER(SUMMARIZE('AD - combined','AD - combined'[OSversionCheck],'AD - combined'[operatingSystem]),CONTAINSSTRING('AD - combined'[operatingSystem],"Windows"))
OS Version Mapping = DISTINCT(FILTER(SUMMARIZE('AD - combined','AD - combined'[OSversionCheck],'AD - combined'[operatingSystem]),CONTAINSSTRING('AD - combined'[operatingSystem],"Windows")))
OS Version Mapping =
var t = (FILTER(SUMMARIZE('AD - combined','AD - combined'[OSversionCheck],'AD - combined'[operatingSystem]),CONTAINSSTRING('AD - combined'[operatingSystem],"Windows")))
return
DISTINCT('t'[OSversionCheck]) <---- This is not possible with a temp table...
It also doesn't seem to be possible to add a new column to an existing table and add manual data.
In which case I think the only option is to create a new table with OSVersionCheck and End of Support Date data entered manually.
Solved! Go to Solution.
@Rene_E , Try like
OS Version Mapping =SUMMARIZE( FILTER('AD - combined','AD - combined', CONTAINSSTRING('AD - combined'[operatingSystem],"Windows") ), 'AD - combined'[OSversionCheck],'AD - combined'[operatingSystem])
You can add manual data in formula only , you have check for every row value and do that
example
New column = Switch( True() ,
[Varsion] , "10.0", date(2022,12,31),
[Varsion] , "11.0", date(2026,12,31),
// add others
date(2020,12,31)
)
Hi @amitchandak,
I was able to populate the End of Support Date with your help. I only needed to remove "true()" from your formula. Thanks for that.
End of Support Date = switch(
'OS Version Mapping'[OSversionCheck],
"10.0 (19042) Enterprise", date(2022,12,21),
"10.0 (18363) Enterprise", date(2021,12,21)
)
I was not able to get unique OSVersionCheck values. So I ended up recreating the custom table "OS Version Mapping" with only DISTINCT OSVersionCheck values and then created both End of Support Date and operatingSystem as new column with manual data.
@Rene_E , Try like
OS Version Mapping =SUMMARIZE( FILTER('AD - combined','AD - combined', CONTAINSSTRING('AD - combined'[operatingSystem],"Windows") ), 'AD - combined'[OSversionCheck],'AD - combined'[operatingSystem])
You can add manual data in formula only , you have check for every row value and do that
example
New column = Switch( True() ,
[Varsion] , "10.0", date(2022,12,31),
[Varsion] , "11.0", date(2026,12,31),
// add others
date(2020,12,31)
)
Hi @amitchandak,
I was able to populate the End of Support Date with your help. I only needed to remove "true()" from your formula. Thanks for that.
End of Support Date = switch(
'OS Version Mapping'[OSversionCheck],
"10.0 (19042) Enterprise", date(2022,12,21),
"10.0 (18363) Enterprise", date(2021,12,21)
)
@Rene_E , You can use addcolumns on same summarize script
or
create that var table and then use add the column.
You got what you want, of still there is some issue?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 82 | |
| 71 | |
| 50 | |
| 46 |