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 have following model where i where i have introduced a Bridge table.
Now i want this formula or you can say how i can lookup or write a measure/column in Table B base on any Column in TABLE A.
If(TABLE A[BRKG_DT > TABLE B[START_DT,"yes",No")
@
@
I tried lookupvalue IN TABLE B but it throws circular dependency error .
LOOKUPVALE(TABLE A[BRKGT_DT],TABLE A[JOB_NO],RELATED[BRIDGE TABLE[JOB_NO].
Solved! Go to Solution.
Hi @Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
Column =
var _index =
MAXX(FILTER(ALL('BRIDGE TABLE'),'BRIDGE TABLE'[JOB_NO]=EARLIER('TABLE A'[JOB_NO])),[JOB_NO])
var _value=
MAXX(FILTER(ALL('TABLE B'),'TABLE B'[JOB_NO]=_index),[START_DT])
return
IF(
'TABLE A'[BRKG_DT] >_index ,"yes","No")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
I need to create this column in Table B
Hi @Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
Column =
var _index =
MAXX(FILTER(ALL('BRIDGE TABLE'),'BRIDGE TABLE'[JOB_NO]=EARLIER('TABLE A'[JOB_NO])),[JOB_NO])
var _value=
MAXX(FILTER(ALL('TABLE B'),'TABLE B'[JOB_NO]=_index),[START_DT])
return
IF(
'TABLE A'[BRKG_DT] >_index ,"yes","No")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
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 |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |