Forum Discussion
Dax Error
Hai All, please help me to solve this error,
I am trying to create a flag, but these two tables are in an inactive relationship,
The logic is if the ambassador's name is present in the t1 table then yes otherwise no but these two tables are in inactive mode
and I am getting this error so how to solve this error please help me
Anonymous
Please tryAmbassador = IF ( ISEMPTY ( CALCULATETABLE ( VALUES ( Ambassador[Ambassador Email] ), USERELATIONSHIP ( Ambassador[Ambassador Email], 'T1 Data Base'[User Email] ) ) ), "No", "Yes" )
13 Replies
- AnonymousNot applicable
Hello You missed a column in Relationship formula.
Store the value of the relationship in a variable and compare it after
- AnonymousNot applicable
No, I didn't miss anything
- tamerj1Community Champion
Hi
Would you please share ascreeshot of your data model with th erlationships?- AnonymousNot applicable
- tamerj1Community Champion
Anonymous
Are you creating a column (calculated column) or a measure? If you are creating a calculated column then please advise in which table?
- tamerj1Community Champion
Anonymous
Please tryAmbassador = IF ( ISEMPTY ( CALCULATETABLE ( VALUES ( Ambassador[Ambassador Email] ), USERELATIONSHIP ( Ambassador[Ambassador Email], 'T1 Data Base'[User Email] ) ) ), "No", "Yes" )- AnonymousNot applicable
Hai tamerj1 Yes it's working , can you explain why you used isblank here
- AnonymousNot applicable
Hai tamerj1, am accepting this solution, and can you please help me to achieve this requirement too
https://community.powerbi.com/t5/Desktop/Converting-static-to-Dynamic-Measure/m-p/2550780
- AnonymousNot applicable
Hai tamerj1 Thank you for the solution
Please check this requiremtn
https://community.powerbi.com/t5/Desktop/Converting-static-to-Dynamic-Measure/m-p/2550780
- tamerj1Community Champion
- AnonymousNot applicable
Sorry, for which question you have answered this?