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.
I am pulling data from a Sharepoint Online list and am having trouble with the Stacked Bar Chart. I had this visual working correctly at one point, but I'm stumped on how to get it working again.
The list contains entries that are sales opportunities. For each entry there is a sales lead and a backup salesperson. I want the chart to show me for each salesperson how many of opportunities they are lead on and how many they are backup on. For example, if person 1 has 30 opportunities, I should see 22 of them as lead and 8 as backup. Currently, the bars are showing 30 as lead and 30 as backup.
My data fields are as follows:
X-axis:
Sales Lead
Y-axis:
Count of Sales Lead
Count of Backup
Legend:
(Blank)
The table is formatted similar to this:
Opportunity | Sales Lead | Sales Backup | Status |
0001 | Person 1 | Person 2 | Open |
0002 | Person 3 | Person 2 | Pending |
0003 | Person 1 | Person 3 | Closed |
0004 | Person 2 | Person 1 | Closed |
Any input would be helpful. I've tried creating measures and tables...but I'm not the most comfortable with DAX.
Solved! Go to Solution.
@Anonymous ,
Option 1, Unpivot the sales and backup in power query
https://radacad.com/pivot-and-unpivot-with-power-bi
option two: Create common person dimension join with both sales and backup and create measure with help userelationship for inactive relationship
@Anonymous ,
Option 1, Unpivot the sales and backup in power query
https://radacad.com/pivot-and-unpivot-with-power-bi
option two: Create common person dimension join with both sales and backup and create measure with help userelationship for inactive relationship
User | Count |
---|---|
83 | |
74 | |
73 | |
47 | |
36 |
User | Count |
---|---|
113 | |
56 | |
52 | |
42 | |
42 |