Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
nahuel_z
Frequent Visitor

Creating a Stacked Bar Chart for Visitor Conversion by Week

 

Hi.

I want to create a stacked bar chart. I want the X-axis to represent the weeks of the year, and the overall Y-axis to represent the number of visitors to my website as whole numbers. Within each bar, I want to display the number of tickets as a percentage. This percentage should be based on the total number of visitors. In summary, I want to graph visitors as whole numbers and conversion as a percentage.

Like this.

imagen ejemplo.png

3 REPLIES 3
ChiragGarg2512
Solution Sage
Solution Sage

@nahuel_z use secondary y-axis and change the type of column from number to percentage.

I have already tried that, but it was not possible. I can only display the secondary axis if I plot it as a line. However, I want it to be a bar within the bar. Thank you.

Two different fields can not be a part of the same column. A single bar in column visual cannot be used to represent to different thing. When legend is introduced to the column visual, it breaks the total for that column into multiple pieces according to the percentage value of that piece.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.