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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.