This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
When i want to use a table value as variable i get the error Expression.Error cannot use operator & with Text and Table(Sorry translated from Dutch)
this is the line of the error:
<SessionID>"& Session_ID() &"</SessionID>
what am i doing wrong?
Thanks
Rob
Solved! Go to Solution.
Hi @robon ,
Sorry for that the information you have provided is not making the problem clear to me.
If you want to use the values in column as variables ,please use the following formula to create a calculated column or a measure:
Column =
var columnVariable=[Session]
return [Session] &" - " & "Table1" Measure =
var measureVariable=MAX('Table1'[Session])
return measureVariable &" - " & "Table1"
If it does not make sense, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @robon ,
Could you tell me if my post helps you a little? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.
Hope to hear from you😀
Best Regards,
Eyelyn Qin
Sorry Eyelyn,
it works thanx a lot
Rob
Hi @robon ,
Sorry for that the information you have provided is not making the problem clear to me.
If you want to use the values in column as variables ,please use the following formula to create a calculated column or a measure:
Column =
var columnVariable=[Session]
return [Session] &" - " & "Table1" Measure =
var measureVariable=MAX('Table1'[Session])
return measureVariable &" - " & "Table1"
If it does not make sense, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 33 | |
| 25 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 22 |