Forum Discussion
stacked chart
- 8 years ago
Hi sbkrishblr,
I would do the following changes to your information:
Create a calendar table
Unit A table:
- Add Columns:
- Salesman - Blank
- Unit - "Unit A"
Unit B Table
- Add Columns:
- Unit - "Unit B:" & Salesman
Append Table A with table B having a single table (Sales) with:
- Month
- Sales
- Salesman (for Unit A this values will be blank)
- Unit
Connect the Calendar table with the Sales table and with the Target table
Make the chart with the following setup
- X-axis - Date from Calendar
- Column Series - Unit
- Column values - Sales
- Line Values - Company Target
Final result below:
Regards,
MFelix
- Add Columns:
Hi sbkrishblr,
I would do the following changes to your information:
Create a calendar table
Unit A table:
- Add Columns:
- Salesman - Blank
- Unit - "Unit A"
Unit B Table
- Add Columns:
- Unit - "Unit B:" & Salesman
Append Table A with table B having a single table (Sales) with:
- Month
- Sales
- Salesman (for Unit A this values will be blank)
- Unit
Connect the Calendar table with the Sales table and with the Target table
Make the chart with the following setup
- X-axis - Date from Calendar
- Column Series - Unit
- Column values - Sales
- Line Values - Company Target
Final result below:
Regards,
MFelix
Hi,
thanks for replying with your solution. we also did it exactly the same way... but when we select the filter for any of the unit B- salesman, the block gets highlighted, and rest other blocks including ( unit A block & unit B- other salesman ) gets grayed out.
What we want is, when we click on one unit B- Salesman ( say Unit B - Tom), then only unit B - Jack & unit B - Harry blocks should grey out, Unit A should not be grayed out.
Hope my point is clear.
thanks,
suresh K
- MFelix8 years agoSuper UserHi sbkrishblr,
That is not possible since the seceval colours in the graph are relating only to one salesman you can' do it with a songle click only with CRTL+ click on the different values you want.
Regards,
MFelix - erik_tarnvik8 years agoSolution Specialist
Hi sbkrishblr,
depending on your exact requirements, you may be able to achieve something close to what you are asking using the tecnique in the answer in the below post. By using a parameter table you can customize visual selection behavior using a slicer and vsiual filters.
https://community.powerbi.com/t5/Desktop/Dynamic-column-based-on-slicer/m-p/268231#M120994