cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Circular dependency Error

Hi,

 

Getting a Circular dependency Error while trying to fix blank results.

 

 

 

1.JPG

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Circular dependency Error

@PSan1979 , refer if this can help in finding out

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

Re: Circular dependency Error

Also, the LOOKUPVALUE can return "Others" for Blank, you just need to add it in your formula.

may be the fact that you are using If is Blank over LOOKUPVALUE is causing the Circular Error.

Regards
Amine Jerbi
https://www.linkedin.com/in/amine-jerbi-2b3a8928/

Did I answer your question? Mark my post as a solution!

View solution in original post

5 REPLIES 5
Highlighted
Super User IV
Super User IV

Re: Circular dependency Error

@PSan1979 , refer if this can help in finding out

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

Highlighted
Frequent Visitor

Re: Circular dependency Error

Sir, They have given eg in measure. but my issue is I have already calculated and just want to assign Blank() as "Others", when i try to use IF(ISBlank(Col_name), "Others","Student") that time i am getting an error

Highlighted
Super User IV
Super User IV

Re: Circular dependency Error

@PSan1979 , check this lookup value alone, is it working?

If not is any of these three-column driven from each other?

or the table itself.

 

If you have created a table using a select column and using that again. If you have created one table from another use distinct or summarize to make use it is no more a reference

 

if lookup is working then move its var and check that into you formula

 

New column =

var _1 = lookupvalue(..)

return

if(isblank(_1), 1,0)

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Post Prodigy
Post Prodigy

Re: Circular dependency Error

Hi There,

it looks like the LOOKUPVALUE formula is not used correctly.

please check out this link

https://dax.guide/lookupvalue/

 

And try to execute the formula sepratly from the IF function and see if it works.

 

Regards
Amine Jerbi
https://www.linkedin.com/in/amine-jerbi-2b3a8928/

Did I answer your question? Mark my post as a solution!
Highlighted
Post Prodigy
Post Prodigy

Re: Circular dependency Error

Also, the LOOKUPVALUE can return "Others" for Blank, you just need to add it in your formula.

may be the fact that you are using If is Blank over LOOKUPVALUE is causing the Circular Error.

Regards
Amine Jerbi
https://www.linkedin.com/in/amine-jerbi-2b3a8928/

Did I answer your question? Mark my post as a solution!

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors