Forum Discussion
DAX Summarize Combinations Products
hi,
thank you for this post, really helped so much
but, right now i have a discussion because in the blend there are cases where for each row the values are repeated but inverted. for example
Row - Value
A - 5
B - 6
A,B - 2 *
B,A - 1 *
this is my formula
thank you for your help
hi, charlyrosero
For CONCATENATEX Function, you could add an order conditional in it.
CONCATENATEX ( <table>, <expression>, [<delimiter>], [<OrderBy_Expression1>], [<Order>] … )
https://dax.guide/concatenatex/
If not your case, please share your sample pbix file and expected output.
Best Regards,
Lin
2 Replies
- v-lili6-msft
Community Support
hi, charlyrosero
For CONCATENATEX Function, you could add an order conditional in it.
CONCATENATEX ( <table>, <expression>, [<delimiter>], [<OrderBy_Expression1>], [<Order>] … )
https://dax.guide/concatenatex/
If not your case, please share your sample pbix file and expected output.
Best Regards,
Lin
- charlyroseroFrequent Visitor
v-lili6-msft thank you so much, the solution was add the column in order by expression and indicate the order.