Forum Discussion
Grouping data based on two level conditions
- 5 years ago
Hi, ugux
Thank you for sharing.
Please check the link down below.
It seems working. However, I am not quite convinced to myself whether it is the best solution or the worst solution. Because the measure is using Treatas function two times in the same measure.
Please check whether it suits your real model.
https://www.dropbox.com/s/vaf19ug4l029g17/ugux_v2.pbix?dl=0
Thank you.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
ugux , you might have create a measure using switch
like
Switch ( True() ,
max(product[product]) = "Product A" && max(Customer[Customer]) = "X" ,
// Add others
)