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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MalvikaBhasin
Helper III
Helper III

Presentation - Pivot

Hi,

 

How can I present data in such format in power bi?

 

Thisishow.JPG

 

Source of my data is:

 

source1.JPG

 

Source2.JPG

Regards

Malvika

1 ACCEPTED SOLUTION
v-jiewu-msft
Community Support
Community Support

Hi @MalvikaBhasin ,

Based on my testing, please try the following methods:

1.Create the sample table in excel.

vjiewumsft_0-1723431060073.png

2.Get data from excel in power bi desktop.

3.Drag the column into the bar chart.

vjiewumsft_1-1723431071802.png

4.Set the Bars color in the visualizations.

vjiewumsft_2-1723431081328.png

5.The result is shown below.

vjiewumsft_3-1723431090524.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-jiewu-msft
Community Support
Community Support

Hi @MalvikaBhasin ,

Based on my testing, please try the following methods:

1.Create the sample table in excel.

vjiewumsft_0-1723431060073.png

2.Get data from excel in power bi desktop.

3.Drag the column into the bar chart.

vjiewumsft_1-1723431071802.png

4.Set the Bars color in the visualizations.

vjiewumsft_2-1723431081328.png

5.The result is shown below.

vjiewumsft_3-1723431090524.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SamWiseOwl
Super User
Super User

Hi @MalvikaBhasin 

 

You should be able to import the data and use it directly in a Matrix visual:

SamWiseOwl_0-1723202735792.png

Put type in rows, country in columns and Count of the User Name in the values.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Thanks for the suggestion Sam. However, I wanted a chart - with Country and that bar shows both yellow and green colors. How can I do that?

 

Regards

Malvika

BIswajit_Das - Can you help me with how to translate Pivots in excel in Power BI?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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