Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Set fixed amount based on text of other column

Hey all,

I am trying to set a fixed amount based on a text from another column.

The column that contains the text (text = 'series') is called ALG_Omschrijving. The fixed amount has to be 10. 
Does anyone know how this can be achieved? I've tried some stuff with text.contains but that doesn't work for me. 

Thanks! 

1 ACCEPTED SOLUTION
tackytechtom
Super User
Super User

Hi @Anonymous ,

 

Is it this you are looking for? 🙂

tomfox_0-1648156063889.png

tomfox_1-1648156099774.png

 

Here the code:

if Text.Contains([ALG_Omschrijving], "series") = true then 10 else null

 

Let me know, if this solves your issue! 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

View solution in original post

2 REPLIES 2
tackytechtom
Super User
Super User

Hi @Anonymous ,

 

Is it this you are looking for? 🙂

tomfox_0-1648156063889.png

tomfox_1-1648156099774.png

 

Here the code:

if Text.Contains([ALG_Omschrijving], "series") = true then 10 else null

 

Let me know, if this solves your issue! 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Anonymous
Not applicable

Worked perfectly! Thank you!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors