This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
I have a field called "Mail Back Type" that resides in a table called "v_rp005_rejectreport" and within this field there could be a varying number of code values stored (see screenshot). Is it possible using DAX to take those code values and convert them into descriptions, separated by commas? The key of what each code represents is also provided below.
I tried doing this myself but was getting hung up on the situations where multiple codes are present in the "Mail Back Type" field.
MLBR01 = Signature Not Matching With Name
MLBR02 = Primary Insured
MLBR03 = Missing Required Information
MLBR04 = Need Of Notarized Document
MLBR05 = Account Number Required
MLBR06 = Coverage Amount Required
MLBR07 = Multiple Coverage Amounts Selected
MLBR08 = Credit Card Number Required
MLBR09 = Signature Required
@krichmond , I think you have to use substitute multiple times in DAX
https://learn.microsoft.com/en-us/dax/substitute-function-dax
example
substitute(substitute([col1],"MLBR01","Signature Not Matching With Name"),"MLBR02","Primary Insured")
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 44 | |
| 36 | |
| 23 | |
| 20 | |
| 20 |