Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need to correct some errors made in the financial account transactions. (See row 11)
Projects should always have 5 numbers followed by "-01"
How do i correct this errror in data?
I need to make this change in power query, since i aggregate the data later on.
I'm thinking that i need an if-statement in M, that checks the length of the Projekt_ID
Solved! Go to Solution.
Are all Ids without "-01" at the end 5 digits in length? If so, you can create a new custom column like this:
= if Text.Length([Projekt_ID]) = 5 then [Projekt_ID]&"-01" else [Projekt_ID]
Otherwise you'd need to explain what patterns are possible as IDs and what the result should be for each one of them
Cheers
Are all Ids without "-01" at the end 5 digits in length? If so, you can create a new custom column like this:
= if Text.Length([Projekt_ID]) = 5 then [Projekt_ID]&"-01" else [Projekt_ID]
Otherwise you'd need to explain what patterns are possible as IDs and what the result should be for each one of them
Cheers
That was perfect, thank you so much 😁
I though i already tried that, but i must have made an error along the way
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |