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
naftycs
Regular Visitor

How to convert tableau to power bi formula

Hello professionals. I am new to DAX. I want to convert this tableau formula into DAX appreciate your help:

STR(if ISNULL([Student ID]) then [Registration Number] else [Student ID] END)

 

Thank you for your time and for helping me with my learning process.

 

1 ACCEPTED SOLUTION
tackytechtom
Super User
Super User

Hi @naftycs ,

 

I have never used Tableau, but I'll give it a shot. My assumption is that both Student ID and Registration Number have the same data type plus that you'd want to create a calculated column.

 

Calculated Column = 
IF ( Table[Student ID] = BLANK(), Table[Registration Number], Table[Student ID] )


Let me know if this helps ๐Ÿ™‚

 

/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

1 REPLY 1
tackytechtom
Super User
Super User

Hi @naftycs ,

 

I have never used Tableau, but I'll give it a shot. My assumption is that both Student ID and Registration Number have the same data type plus that you'd want to create a calculated column.

 

Calculated Column = 
IF ( Table[Student ID] = BLANK(), Table[Registration Number], Table[Student ID] )


Let me know if this helps ๐Ÿ™‚

 

/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 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (27)