Forum Discussion
Les_Grosman
3 years agoRegular Visitor
Replace QlickView AGGR function
Please help replace this QV code into DAX.
sum(TOTAL <Recipe_COMPONENT>
AGGR(
sum([Q-TY])
/ 1000
*
(
(sum([Despatch Volume Cases]) + sum([Promo Cases]))
/
(sum([Despatch Volume Tonnes]) + sum([Promo tonnes]))
)
*
(sum([Despatch Volume Tonnes]) + sum([Promo tonnes]))
, Recipe_COMPONENT
, RECIPE
)
)4 Replies
- mh2587Super User
What is the logic behind this , and would you please paste your scenario here
Thank you- Les_GrosmanRegular Visitor
This is a part of big formula for one evaluation inside visual. All data in this formula stored in one table.
- mh2587Super User
can you explain the QV code step by step so I can convert it to dax
- Les_GrosmanRegular Visitor
The problem is I can explain AGGR function for myself 🙂 I thought that someone have expirience
as in PBI as in QV .