Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello, I'm seeing an issue when using a DAX measure with the USERELATIONSHIP Function to activate an inactive relationship. The formula is:
Hi @mstone3 ,
Here's the USERELATIONSHIP function you can have a look.
https://docs.microsoft.com/en-us/dax/userelationship-function-dax
It’s hard to understand without a sample, could you please show more details about your data model?
Best Regards,
Community Support Team _ kalyj
Hi @mstone3
I can see your data so not able to write a dax, but you need to use HASONEVALUE in your code.
https://www.sqlbi.com/articles/distinguishing-hasonevalue-from-isinscope/
https://docs.microsoft.com/en-us/dax/hasonevalue-function-dax
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
21 | |
20 | |
14 | |
13 |
User | Count |
---|---|
43 | |
37 | |
25 | |
24 | |
23 |