Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Memorable Member
Memorable Member

@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
Memorable Member
Memorable Member

@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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.