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
thanga
New Member

How to create stacked hierarchical customized bar chart for table data?

Hello Team,

 

I have the below Table data 

 

S.NoDescriptionCount  Module1  Module2  Module3 
1Overall Total Testcase6000 Total TC500 Total TC550 Total TC300
2Over all Automation4500 Automation400 Automation450 Automation0
3Over all Manual1000 Manual50 Manual40 Manual50
4Overe all Yet to develop500 Yet to develop50 Yet to develop60 Yet to develop250

I need the Power BI report  as below. Could you please help how to create the same in powe BI desktop?

 

thanga_0-1707192840009.png

 

 

 

 

2 REPLIES 2
thanga
New Member

Hello miTutorials,

I have tried the same steps metioned in the youtube video. But i am not able to genrate the report.

Steps:

1. I have loaded the excel into power BI desktop as below.

thanga_0-1707819602860.png

2. Select the sheet in Right side and click three dot

3. Select Edit query

4. Power Edit query opened as below

thanga_1-1707819721559.png

 

 

5.Selected the column as below

thanga_2-1707819784959.png

6. Select Transform - unpivoted column drop down- Select option as unpivot only selected column 

7. I am getting output as below.

 

thanga_3-1707819909904.png

 

 

7. Next click pivot column option we will get as below

thanga_4-1707819954363.png

 

 

8. After click ok. I am getting as below.

 

thanga_5-1707820009902.png

 

From this how to generate the chart. Could you pls provide step by step?

 

 

miTutorials
Super User
Super User

Please see the attached PBIX file. You will have to transform the data in Power Query.

 

Check out this video to learn about Pivot/Unpivot feature.

 

Pivot/Unpivot PowerBI Feature explained | Power Query | MiTutorials - YouTube

 

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.

Top Solution Authors