Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
7 |