Forum Discussion
Legend problem with line and stacked column chart
- 3 years ago
How about use measures?
Affiliate = SUMX(FILTER('Table name','Table name'[category]="Affiliate"),'Table name'[volume])
Direct = SUMX(FILTER('Table name','Table name'[category]="Direct"),'Table name'[volume])
Distributor = SUMX(...
How about use measures?
Affiliate = SUMX(FILTER('Table name','Table name'[category]="Affiliate"),'Table name'[volume])
Direct = SUMX(FILTER('Table name','Table name'[category]="Direct"),'Table name'[volume])
Distributor = SUMX(...
- rpinxt3 years ago
Solution Sage
Hmm so you say instead of 1 column Y-axis field, make 3 for the separate legend values?
Looks like I can only add 1 column y-axis field.
The line axis could hold more I see but that is of no use.
- mickey643 years ago
Super User
I think you can add some measures after you remove 'Category' from 'Column legend'...
- rpinxt3 years ago
Solution Sage
You are correct.
Will look into this.
Somehow my SUMX is not returning data....
Affiliate_units = SUMX(FILTER('AVN Excel Data','AVN Excel Data'[Category]="Affiliate"),[Units])So maybe if I get this fixed I can solve it like this.