The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi! Need your help with DAX troubleshooting. Right now, I am clueless.
So, in Analysis Services I have used the Additonal Connection Parameters to add CUSTOMDATA(), where I want to pass a JSON list of values.
This does not work, and I get the following error:
A table expression for the argument was expected, but a string or numeric expression was used
When I try to troubleshoot this and work around it; i use the following with no issues at all - this works fine.
EVALUATE FILTER ('v_pact_d_reseller_customer', 'v_pact_d_reseller_customer'[Id] IN {20087,20088,20089} )
But when I try this, it does not work.
EVALUATE FILTER ('v_pact_d_reseller_customer', 'v_pact_d_reseller_customer'[Id] IN CUSTOMDATA() )
From my perspective, they should return the same values. What am I doing wrong?
Thanks!
Hi @Anonymous ,
As stated in this article, the CustomData feature only works for models that lie in Azure Analysis Services, and it only works in Connect live mode. Unlike users and roles, the Custom data feature can't be set inside a .pbix file.
Best regards,
Yuliana Gu
Hi @v-yulgu-msft, and thanks for your answer. I am using Azure AS and Live Connection - sorry for not mentioning that. As you can see from the screenshot, I am trying to set it in SQL Server Management Studio.
Any solution in sight ? I'm strugeling with this as well
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
82 | |
63 | |
54 | |
52 |
User | Count |
---|---|
127 | |
118 | |
81 | |
65 | |
64 |