Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
So far I have this:
let
Bron = Sql.Database("sqlsrv-group-prd-datawarehouse.database.windows.net", "sqldb-group-prd-hr"),
dbo_Roltoewijzing_OE = Bron{[Schema="dbo",Item="Roltoewijzing_OE"]}[Data],
#"Aangepaste kolom toegevoegd" = Table.AddColumn(dbo_Roltoewijzing_OE, "Einde toewijzing rol OE als DateTime", each if [Einde toewijzing rol OE] <> null then DateTime.From([Einde toewijzing rol OE]) else #datetime(2999, 12, 31, 0, 0, 0)),
#"Type gewijzigd" = Table.TransformColumnTypes(#"Aangepaste kolom toegevoegd",{{"Einde toewijzing rol OE als DateTime", type datetime}}),
Aangepast1 = #!"Table.AddColumn(#""Type gewijzigd"", ""rol toewijzing huidig of oud"", each if Date.From([Einde toewijzing rol OE as DateTime]) >= then ""huidig"" else ""oud"")"
in
Aangepast1
But I get a column with 100% error
Can anyone help me with this?
thanks sofar, Jose
Solved! Go to Solution.
I foud the solution myself:
I used the conditional column
I foud the solution myself:
I used the conditional column
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.