Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Ok this is the situation in a picture:
The columns are relates to volumes. And the categories (from the legend) correspond to the volumes.
The line however is based on FTE and the category field for those lines is empty (blank).
Therefore in the legend (Blank) is showing, but we want this gone.
However when we in the filter pane switch off (Blank) also the line will dissapear!
This because for all the line FTE values the category is blank, so excluding this also excludes the values for the line...
Is there a descent way to fix this??
Solved! Go to Solution.
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(...
Thanks @mickey64 , but I was able to make the correct measure with calculate and filter 🙂
And indeed this way I can have 3 colunm values and 1 line value and the blank is not bothering anymore.
Thanks a lot for putting me in the correct direction! 👍
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(...
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.
I think you can add some measures after you remove 'Category' from 'Column legend'...
You are correct.
Will look into this.
Somehow my SUMX is not returning data....
How about this formula below?
Affiliate_units = SUMX(FILTER('AVN Excel Data','AVN Excel Data'[Category]="Affiliate"),'AVN Excel Data'[Units])
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |