The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
Solved! Go to Solution.
@Anonymous
Please try
Ambassador =
IF (
ISEMPTY (
CALCULATETABLE (
VALUES ( Ambassador[Ambassador Email] ),
USERELATIONSHIP ( Ambassador[Ambassador Email], 'T1 Data Base'[User Email] )
)
),
"No",
"Yes"
)
Sorry, for which question you have answered this?
@Anonymous
Please try
Ambassador =
IF (
ISEMPTY (
CALCULATETABLE (
VALUES ( Ambassador[Ambassador Email] ),
USERELATIONSHIP ( Ambassador[Ambassador Email], 'T1 Data Base'[User Email] )
)
),
"No",
"Yes"
)
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
@Anonymous
I changed my reply to ISEMPTY for more simplicity.
You have one to many relationship between the two tables. If you want to pul values from the many side to the one side it won't be a single value for each row. Rather it would be multiple values (a table). If now values are return then this table is EMPTY or the number of its rows ISBLANK
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
Hi
Would you please share ascreeshot of your data model with th erlationships?
@Anonymous
Are you creating a column (calculated column) or a measure? If you are creating a calculated column then please advise in which table?
Hello You missed a column in Relationship formula.
Store the value of the relationship in a variable and compare it after
No, I didn't miss anything
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
25 | |
13 | |
13 | |
8 | |
8 |