Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi people,
I am trying to Concatenate EmpolyeeID with EmployeeName column which reside in the same table. Given that there may be two or more employees with same name but diffrent employeeId.
eg:
EmployeeName EmployeeID
Zoe 1
Zoe 6
I do have EmployeeSK field available. I am using Direct query mode so i cannot have a calculated column, it has to be DAX measure whis should look like :
CashierName-Code
Zoe - 1
Zoe - 6
I have tried concatenate function but it gives me error saying "a table of multiple values was supplied"
Thanks in advance
Solved! Go to Solution.
Hi @Anonymous ,
You can't manage data model while using live connection.
You may check about this article.
Best Regard,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , this one is allowed in Direct query. Purpose To create a Key column. But you can try and check
https://docs.microsoft.com/en-us/dax/combinevalues-function-dax
@amitchandakI am getting error while trying to use the Dax,"A Table of multiple values was supplied where a single VAlue was expected.
@Anonymous , you created it as a column or measure? This need to created as a column
@amitchandak Since i am using SSAS it does not allow me to create a column and it greys it out
Hi @Anonymous ,
You can't manage data model while using live connection.
You may check about this article.
Best Regard,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Jay, that makes sense, I just wanted to confirm before coming to a conclusion.
Hi @Anonymous ,
You may want to try this to handle customers with same name.
https://www.sqlbi.com/articles/handling-customers-with-the-same-name-in-power-bi/
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |