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
Hi, ugux
I am not sure how your all other tables, other measures, and relationships with other tables look like.
If you have more than 300 customers and 10 product types, and if the only problem is to solve this question, I definitely agree with you, and reshaping your fact table really helps a lot.
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
Hi,
My fact tale is an other story, there is no problem. I speak about reshaping regarding my Conditions table.
So the question is still, how can I reach a sum sales Value based on my conditions...
example: Group1 = 200.000 (which comes from 30 Customers, and each customers have different product mix what I want to sum) It is possible, that they bought all kind of products, but I want to summarize only which are connected to the customer in my conditions table.
thank you
- Jihwan_Kim5 years agoSuper User
Please share your sample pbix file's link here.
- ugux5 years agoFrequent Visitor
Hi Kim,
I used your first example file, and I modified tables like it is exist in my real model.
I added 2 Conditions tables version 1 and 2. (no visuals now) only the tables and connections.
Now you can see that not all of products and customers are involved in this Grouping task.
Here is the File:
https://drive.google.com/file/d/1Q7mplGacDYcWisGrkTBHGLVBdyTNAaqU/view?usp=sharing
Thank you
- Jihwan_Kim5 years agoSuper User
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