Forum Discussion
PrathSable
4 years agoAdvocate II
DAX Column for grouping values from same column
Hi, Need help on getting a tricky problem resolved on the data - I have the below table combining 4 columns - ID, Name, Scheme & Volume What I need to do is from the Scheme which has mul...
johnt75
4 years agoSuper User
If you have something like
| Scheme Combination | Scheme |
| AAA-BBB | AAA |
| AAA-BBB | BBB |
| WWW-GDC | WWW |
| WWW-GDC | GDC |
with a many-to-many relationship from this table to your scheme table, then your total volume measure could be something like
Total Volume = SUMX( 'Scheme Combination Table',
SUMX( RELATEDTABLE( 'Schemes' ), 'Schemes'[Volume] )
)
PrathSable
4 years agoAdvocate II
That's the main problem I do not have a scheme combination 😪
That is what I am looking to create.
- johnt754 years agoSuper User
Are you looking to combine every scheme with every other scheme ?
- PrathSable4 years agoAdvocate II
What I am trying to do is work out whats the combinations of the schemes and then which accounts will fall under that combination and what volumes can I expect if I combine both those schemes together to sell to the account.
- johnt754 years agoSuper User
what's the logic behind a scheme combination? what determines whether a scheme combination is valid or real ?