Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All,
I want to create 2 Calculated columns : -
Column 1 :
The problem is that RELATEDTABLE is rewritten internally to CALCULATETABLE and it uses all columns from the expanded dimension table as filters. When you try to add new calculated columns they are added to the table and it will try to use them as filters as well, hence the circular dependency.
You need to remove the filters on all columns in the table except the key column used in the relationship between your dimension table and fact table, e.g.
Call Log Duration =
VAR _A =
MINX (
CALCULATETABLE (
'Call Logs Ameyo',
ALLEXCEPT ( 'Calling List Dimension', 'Calling List Dimension'[Key column] )
),
'Call Logs Ameyo'[CH_DATE_ADDED]
)
VAR _C =
DATEDIFF ( 'Calling List Dimension'[CREATEDATE], _A, HOUR )
RETURN
_C
User | Count |
---|---|
51 | |
38 | |
20 | |
14 | |
13 |
User | Count |
---|---|
98 | |
71 | |
29 | |
20 | |
13 |