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.
Hi all,
I have a dataset that includes diagnosis codes, and a related dataset that acts as a key to categorize/explain each diagnosis. Problem is that some diagnoses were entered with zeros at the end (which are basically irrelevant) so they don't match the related dataset.
An easy solution would be to convert to number (since that removes ending zeros) but the codes can include letters so they cannot be converted.
Example:
If I have F41.1, F41.10, F41.100, F90.0, F90, 310, 310.0, 310.00, 309.4, 309.40, 309.41
I want F41.1, F90, 310, 309.4, 309.41
Not sure if better in DAX or Power Query.
Any ideas?
Solved! Go to Solution.
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 |
---|---|
49 | |
26 | |
21 | |
16 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |