Forum Discussion
DAX help
Anonymous
Can you please help us with sample data along with the expected output?
Regards,
Vivek
- Anonymous6 years agoNot applicable
- vivran226 years agoCommunity Champion
Hey Anonymous,
Thanks for sharing, but it is still not very clear from the conditions you have mentioned and the output you are looking for. How you are arriving at the Output ?
Cheers!
Vivek
https://www.vivran.in/
Connect on LinkedIn- Anonymous6 years agoNot applicable
IF the Sales Order is same and Customer reference is same, then I took sum of quantity. (Here Customer reference number is Purchase order id only) IF the Sales Order is different and Customer reference is same, then I took maxquantity. (If we failed to deliver Sales Order quantity, then we will create another Sales Order for remaining quantity). So my requirement is to show quantity item, item-variant and customer level. Please help
- dax6 years agoCommunity Support
Hi Anonymous ,
I am not clear about your logic, I use below measure to get your result, if this is not waht ypu want, please correct me and expian your logic in details(how to get 100 for last two rows)
Measure = CALCULATE(MAX('Table'[quantity]), ALLEXCEPT('Table','Table'[item],'Table'[customer]))Measure 2 = SUMX(SUMMARIZE('Table','Table'[item],'Table'[customer],"MAX",MAX('Table'[quantity])),[MAX])Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
IF the Sales Order is same and Customer reference is same, then I took sum of quantity.
(Here Customer reference number is Purchase order id only)
IF the Sales Order is different and Customer reference is same, then I took maxquantity.
(If we failed to deliver Sales Order quantity, then we will create another Sales Order for remaining quantity).
So my requirement is to show quantity item, item-variant and customer level.
Please help