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 nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi everyone
In Power Querey, I'm trying to find out a way that whenever my Reference Col starts with FX and contain numbers then "Internal" Example: FX12345 else if it starts with FX and contain text then "External" Example: FXMYRJUNE . I know that type number is not correct so what should I replace it with?
if Value.Is([Reference],type number) and
Text.StartsWith([Reference], "FX") then
"Internal FX Deal"
else
if Value.Is([Reference],type text) and
Text.StartsWith([Reference], "FX") then "External FX Deal"
Thanks
Solved! Go to Solution.
Hi @ritanoori ,
Try this custom column:
if Value.Is(Value.FromText(Text.AfterDelimiter([Column1], "FX")), type number) = true then "Internal FX Deal"
else "External DX Deal"
Hi @ritanoori ,
Try this custom column:
if Value.Is(Value.FromText(Text.AfterDelimiter([Column1], "FX")), type number) = true then "Internal FX Deal"
else "External DX Deal"
Thank you so so much!!! 🙂
Check out the May 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 |
|---|---|
| 27 | |
| 26 | |
| 25 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 56 | |
| 48 | |
| 37 | |
| 21 | |
| 20 |