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.
I'm wondering how I could use UseRelationship in a "If" Statement.
Example:
If ( columnName1 IsBlank, userelationship(<columnName2>,<columnName3>), userelationship (<columnName1>,<columnName3>)
Solved! Go to Solution.
Hi @Grant_Byrnes,
From your description, you want to create a conditional relationship between two tables, right? This is not supported. The relationship is initilized in Relatiomships view, rather than being created via DAX formula. And only one active relationship can be established between two tables. Besides, USERELATIONSHIP function specifies the relationship to be used in a specific calculation as the one that exists between two columns.
Best regards,
Yuliana Gu
Hi @Grant_Byrnes,
From your description, you want to create a conditional relationship between two tables, right? This is not supported. The relationship is initilized in Relatiomships view, rather than being created via DAX formula. And only one active relationship can be established between two tables. Besides, USERELATIONSHIP function specifies the relationship to be used in a specific calculation as the one that exists between two columns.
Best regards,
Yuliana Gu
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 |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |