Тёмный

Avoiding circular dependency errors in DAX 

SQLBI
Подписаться 110 тыс.
Просмотров 38 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@sbn4862
@sbn4862 2 года назад
Excellent. I'm beginer DAX and I red from your book about it, it was very clearly but waching with vidio is a big pleasure. Thank you Mr Alberto
@danielsiffredi8403
@danielsiffredi8403 3 года назад
you are not only a PBI master, you are a mind reader as well . I had to get some work done and was hitting exactly the circular dependency scenario when creating a bridge table - this technique saved me tons of hours of research - THANK YOU !!! Grazie caro!!!!
@carlottasudbury808
@carlottasudbury808 2 года назад
Words cannot express how helpful this was. I was just about to give up until I found this.
@vini_sepol
@vini_sepol 10 месяцев назад
Thank you so much for your explanation! You've helped me a lot. I was stuck on this circular dependency problem and your video was the only one that really helped me to solve it. From now on I'll make sure to properly set the "ALLEXCEPT" in all my "CALCULATE" functions. Keep doing your videos. Excellent content! Many thanks from Brazil (:
@danmeiss
@danmeiss 3 года назад
So not only are the SQLBI guys putting out great content, but now they are also mastering the art of the RU-vid thumbnail image 😀. Love the expression Alberto. Keep up the good work, we all benefit from it!
@gregoryoliveira8358
@gregoryoliveira8358 Год назад
Thanks a lot for sharing this with us! I struggled to understand why my calculate table was not accepting the relationship. Now I understood. Thanks again!
@jonathanVA44
@jonathanVA44 2 года назад
Thank you so much for this. Just to help you in your English grammar since you helped me in my DAX, after "did" you need to put everything in past tense, so "is" becomes "was" and you also need to turn the gerund "creating" into the verb "to create." So instead of "What I did is creating a table" one says, "What I did was to create a table"
@mnowako
@mnowako 3 года назад
Excellent. I’m just wondering if you know how good your videos are for everyone who is eager to learn DAX? Thank you Alberto!
@sergiocaptuleio1088
@sergiocaptuleio1088 Год назад
Show!!!! Being able to resolve an addiction by watching this video. Thanks!!!
@sanketkulkarni3
@sanketkulkarni3 Год назад
Amazing !! you wonderfully explained how to avoid Circular dependency, this helped me in many cases and to understand how Power BI deals with it in backend. Thanks a lot for the help !! :)
@pilarbaldominos2505
@pilarbaldominos2505 3 года назад
Fantastic video...I have been struggling with this issue long enough!
@praveenkumar_0143
@praveenkumar_0143 Год назад
Thank you for the video, really helped understanding why this kind of errors occurs.
@sibinmathewjose1335
@sibinmathewjose1335 6 месяцев назад
You are awesome! I was working for this issue for so long! Thanks alot!
@MartinCollazos1978
@MartinCollazos1978 2 года назад
You are convencing me to take the dax course ...
@Bharath_PBI
@Bharath_PBI 3 года назад
Hi, So breaking circular dependency this way will not break data lineage. Thank you 👍
@davedavedavedavedavedavedave
@davedavedavedavedavedavedave 8 месяцев назад
Thanks!!!! Solved hours of headache.
@stephencross4978
@stephencross4978 3 года назад
This video is a lifesaver, thank you so much!! Been Battling this issue for days and you helped me understand and solve my problem ;-)
@supersayan9888
@supersayan9888 2 года назад
Amazing! I was struggling with this. I could not solve it, so I turned to SQL. Now I know. 😀 Just curious if you would use calculated table, whether that would be faster than using the filter function.
@gonqq3140
@gonqq3140 3 года назад
This video was a life saver, thank you so much and keep it going, you're a master!
@manasac2482
@manasac2482 2 года назад
Amazing! this solved my issue in 10seconds. Thanks for the video
@PedroHenrique-bp8ts
@PedroHenrique-bp8ts Год назад
Love you, buddy. Always helping me out
@tibobago
@tibobago 3 года назад
This is so helpful. Thanks again Alberto!
@SimranSingh-sd9yo
@SimranSingh-sd9yo 3 года назад
5 min into this video and it solved my problem.
@ashleytaaffe9423
@ashleytaaffe9423 3 года назад
Absolutely fantastic! Really insightful
@olegstepanov7500
@olegstepanov7500 3 года назад
Extremely useful! Thanks a lot!
@nontapatanantananon9856
@nontapatanantananon9856 2 года назад
Thank you. It help me save a lot of times.
@kumarprabhu
@kumarprabhu 2 года назад
How do we resolve the circular dependency between measures....Any idea?
@shanestocks89
@shanestocks89 8 месяцев назад
When I use ALLEXCEPT some of my data changed and 2 rows were removed from the calculation analysis. I dont know how to figure out what is right or wrong!
@anuragbawankar685
@anuragbawankar685 3 года назад
Thanks a lot Alberto... really helpful!!!!
@janohedo5134
@janohedo5134 3 года назад
Thank you sir. Simple and great explanation
@jenlam4466
@jenlam4466 Год назад
Hi, I am experiencing this error but didn't use the CALCULATE expression at all. This error came up when I try to create bins from a calculated column (percentage progress) by a measure divided by a measure. Can you please help?
@SQLBI
@SQLBI Год назад
A measure reference internally implies CALCULATE to perform the context transition.
@vincentferida6634
@vincentferida6634 2 года назад
Excellent video!! :) 👍
@DIGITAL_COOKING
@DIGITAL_COOKING 3 года назад
Hi Alberto, I wonder what makes you good for the other ,i mean DAX make you good for chess game (I saw one behind you) or the opposite, but you have to choose one answer or it will be circular dependency🤣 great video, best continuation
@SimranSingh-sd9yo
@SimranSingh-sd9yo 3 года назад
I have a table created by CALENDARAUTO(12 as my fiscal year value) , I want to create separate column in the same table that returns "Year-Month" in format "2021-May". How can I achieve this through DAX ?
@SQLBI
@SQLBI 3 года назад
You can see examples here: www.daxpatterns.com/time-patterns/
@thaisjustidetoledo130
@thaisjustidetoledo130 3 года назад
Amazing video!!! Thanks!
@camilofenandez7868
@camilofenandez7868 2 года назад
Thanks Alberto!! You ended my misery!
@brunorodrigues254
@brunorodrigues254 8 месяцев назад
Pease can you help me with this situation: Daily balance = [Receive] + backlog - analyzed backlog = var previous balance = calculate ( [Daily balance], Dateadd( Calendar[Date], - 1, Day) ) return previous balance I tried multiple things but nothing worked. Calculate column's, measure, nothing worked
@brunorodrigues254
@brunorodrigues254 8 месяцев назад
Tried everything but nothing worked
@SQLBI
@SQLBI 8 месяцев назад
DAX doesn't have recursion, you should compute that in a different way (better to prepare the data in advance).
@corentincorcelette3598
@corentincorcelette3598 3 года назад
Perfect was my problem today :)
@mogiomayol6995
@mogiomayol6995 3 года назад
why your results are considering the only the row, and mine is bringing the count of rows of the all table inside all cells?
@mogiomayol6995
@mogiomayol6995 3 года назад
nvm got it, it was the PK
@victoremidio3543
@victoremidio3543 3 года назад
Thanks a lot, help me a lot !!!
@mansijswarnkar4389
@mansijswarnkar4389 2 года назад
Molto Grazie !
@ronniebrito8660
@ronniebrito8660 2 года назад
wow, amazing!
@Compexcel
@Compexcel 3 года назад
👍👍
@alouisio
@alouisio 7 месяцев назад
genius
3 года назад
I get a ciruclar dependency that i do not understand. I want to create a relationship on a calculated table. I've simplified the Table as much as possible to exclude Issues and the Modell has no RI Violations, so no Blank Rows: CrossEmpl = VAR _Empl1 = SUMMARIZECOLUMNS( Employees[DAEmplID] , 'Date'[CY Month] -- this is to group by month (first date of Month) , "@CE Hours", [HP Hours] -- HP Hours = SUM ( HoursPosition[HP_Hours] ) ) RETURN _Empl1 If i want to create relationships with the Employee or Date Table i get this Errors: A circular dependency was detected: CrossEmpl[CrossEmpl-...guid..,ae4], ...guid...c62(*changing), CrossEmpl[DAEmplId], CrossEmpl[CrossEmpl-...guid...ae4]. A circular dependency was detected: CrossEmpl[CrossEmpl-...guid..,ae4], ...guid...09c(*changing), CrossEmpl[CY Month], CrossEmpl[CrossEmpl-...guid...ae4]. * changes with each try If i replace Employees[DAEmplID] by HoursPosition[DAEMPLID] i can create the Relation. But for Date this is not possible as i want to group by month. Any Ideas why this is causing a Cirular Dependency: My Idea is now to duplicate the Date Table and use the Related Columns and not the Related Table, but i do not like this. Other Idea is to add year and month or Month (First Date of month) as Columns to my Source Table. But i would need to to this for three tables... select DATABASE_NAME, TABLE_ID, ROWS_COUNT, RIVIOLATION_COUNT from $SYSTEM.DISCOVER_STORAGE_TABLES WHERE RIViolation_Count > 0 => Nothing
@SQLBI
@SQLBI 3 года назад
If you are creating the Date table with a calculated table, it could be that one of the columns of the new calculated table has a date data type.
3 года назад
​@@SQLBI No, Date Table is imported from my SQL Database. I just realized that DAX doesn't know date (only DateTime) even that i've cast all Dates to Date. But Problem is also with my DAEmplId (Dataarea Employee ID). Again: If i replace DAEmplId with the Key Column on the Fact table it is working. But if i use the Dimension Table this Error is caused.
@SQLBI
@SQLBI 3 года назад
Please, try to reproduce the problem with the data model of the article and write a comment in the article if you can do that, otherwise it's impossible to analyze the problem in more detail. Thanks!
Далее
Understanding context transition
18:25
Просмотров 70 тыс.
Propagating filters using TREATAS in DAX
19:18
Просмотров 45 тыс.
When to use KEEPFILTERS over iterators
18:56
Просмотров 49 тыс.
Lookup multiple values in DAX
22:10
Просмотров 53 тыс.
Blank row in DAX
12:55
Просмотров 45 тыс.
Understanding data lineage in DAX
18:14
Просмотров 30 тыс.
USERELATIONSHIP in calculated columns
26:05
Просмотров 16 тыс.
Using ALLEXCEPT vs ALL VALUES
13:35
Просмотров 55 тыс.
Working below a DAX formula’s granularity
15:16
Просмотров 20 тыс.