The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi community,
cannot find the answer to this simple question:
with the textbook example
ListPriceRanking =
COUNTROWS (
FILTER (
VALUES ( 'Product'[List Price] ),
'Product'[List Price] > EARLIER ( 'Product'[List Price] )
)
) + 1
does the engine calculate in the sequence that is suggested: first inner loop with the inner row context. Then calculate whatever is as filter context outside (which is obviously not visible here) . This is presumbably answered already. Please refer me to the link.
Best regards
Christian
Solved! Go to Solution.
For most functions/expressions, from inside out, from left to right, from top down.
But CALCULATE is very different, it starts with all the argument and keep the first argument evaluated last.
Great, this is exactly what I wanted to know.
Best regards
Christian
The question is: what is the real sequence of calculations in the engine? Always first filter context, then inner row context. The other way round, or some parallelization? Or depending on some criteria?
For most functions/expressions, from inside out, from left to right, from top down.
But CALCULATE is very different, it starts with all the argument and keep the first argument evaluated last.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |