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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sholay
New Member

How to show table as clustered chart

Hello all, i will appreciate your help on this. I have a filtered table in excel that shows data from the current week and the previous week. There is also a clustered chart that compares information from the current week with the previous week. I want to replicate same filtering and chart in Power BI. See the screenshot below.

Clustered-chart-example.PNG

 

I have not been able to figure out how to display the data as clustered chart in power bi. Please Help. 

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

Hi @Sholay,

 

I think you can try to use unpivot table function(power query) to convert multiple column to Attr and Value columns. then use new columns to create clustered chart.(Drag 'week ending' to legend field, Attr to axis field, Value to value field)

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Sholay,

 

I think you can try to use unpivot table function(power query) to convert multiple column to Attr and Value columns. then use new columns to create clustered chart.(Drag 'week ending' to legend field, Attr to axis field, Value to value field)

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
GilbertQ
Super User
Super User

Hi @Sholay

 

What I would suggest doing is to bring in a Date table, which has all additional columns such as Week Numbers or you can create a column which will have the week ending.

 

Here is a blog post explaining how to create the Date table and then create the relationship from your current table to the date table.

https://www.fourmoo.com/2016/09/13/power-bi-how-to-easily-create-dynamic-date-tabledimension-with-fi...

 

Once that is done you can then use the Week Number or Week Ending Number to your Clustered Chart Visual. And then put your value or measure to the values field in your Clustered Chart Visual.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors