The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
86 | |
84 | |
35 | |
35 | |
35 |
User | Count |
---|---|
94 | |
79 | |
63 | |
55 | |
52 |