This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi
I want to create a column where in the column named Test it returns the Net Premium Value if the Policy Code includes the letters LEX. The format of the data in the Policy Code could be M05LEX, M11LEX, M10LEX - the DAX below isnt working. any ideas ?
@amitchandak @goncalogeraldes @tamerj1
Solved! Go to Solution.
Hi @spandy34
Hope you're doing fine.
Please try
Test =
IF (
CONTAINSSTRING ( INS_Premium[PolicyCode], "LEX" ),
'INS_Premium'[NetPremium]
)
Hi @spandy34
Hope you're doing fine.
Please try
Test =
IF (
CONTAINSSTRING ( INS_Premium[PolicyCode], "LEX" ),
'INS_Premium'[NetPremium]
)
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 24 | |
| 23 |