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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.