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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ErickReiis
Helper I
Helper I

Removing data from a table using another as filter

Good morning people, everything fine?

I need help getting data from a table based on another table.

I have a table of doctors where they are registered, and I have a Blacklist of doctors who should not be part of my analysis. I've tried to do an inner Join but it gives an error and says that it was not possible to convert a value of type Int to text.

Is it possible to do this with DAX?
1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @ErickReiis 

 

If you are converting data of type int to text, you can try the FORMAT function.

https://docs.microsoft.com/dax/format-function-dax 

 

As an example.

vzhangti_0-1651213947832.png

Column = FORMAT([Value],"")

vzhangti_1-1651214000674.png

Hope this can help you.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @ErickReiis 

 

If you are converting data of type int to text, you can try the FORMAT function.

https://docs.microsoft.com/dax/format-function-dax 

 

As an example.

vzhangti_0-1651213947832.png

Column = FORMAT([Value],"")

vzhangti_1-1651214000674.png

Hope this can help you.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@ErickReiis , Merge in power query


Append & merge : https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Join in DAX

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

 

We can also copy columns, in one of the 4 ways

 

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.