cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
clem312
Resolver I
Resolver I

GENERATED Table

Hi,

 

I created a GENERATED Table and I have a circular dependancy. I don't understand why.

I can create a measure calling ALL(model) but not calling a specific model :

 

clem312_0-1636377742921.png

CALCULATE(
Q108[%Q108],
'model'[lib_model] IN {"Connect", "Transit Custom", "Transit", "Transit MHEV", "Transit Tourneo"}
),
makes a circular dependancy.
1 ACCEPTED SOLUTION
ebeery
Solution Sage
Solution Sage

@clem312 this article from SQLBI may be of help to you:

https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/ 

The first thing I would try is replacing your "VALUES" functions with "DISTINCT" in your calculated table.

View solution in original post

2 REPLIES 2
clem312
Resolver I
Resolver I

Hi @ebeery 

 

Thank you. I had first solved it using FILTER instead of comma.

But your answer is a great help as I have other tables where the blank row issue that is mentioned in you article would have occured. 

ebeery
Solution Sage
Solution Sage

@clem312 this article from SQLBI may be of help to you:

https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/ 

The first thing I would try is replacing your "VALUES" functions with "DISTINCT" in your calculated table.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors