Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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?
Solved! Go to Solution.
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.
Column = FORMAT([Value],"")
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.
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.
Column = FORMAT([Value],"")
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.
@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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
79 | |
67 | |
60 | |
45 | |
45 |