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
Anonymous
Not applicable

Show values in clustered column chart together

i have a visualization that shows project margin maintained for last 3 months.

i display both gross and net margin for the said time period.

 

right now when i create a clustered column chart, it segregates project by month name to show last 3 months and shows bars for gross and net margin per month. So chart has 3 pairs of 2 bars (for gross and net margin)

is there a way to show 2 pair of 3 bars (1 pair for gross margin for last 3 months and other for net margin for last 3 months)?

 

i am new to power Bi and trying to create impactful charts.

any help is appreciated.

 

thank you,

PD

1 ACCEPTED SOLUTION
savvari
Helper I
Helper I

@Anonymous 

 

You may have to unpivot the data to get both NetMargin and GrossMargin into one column with an additional column - MarginType indicating whether it's NetMargin or GrossMargin. This way, you can use MarginType on Axis and Months as Legend.

 

 

Thanks,

savvari

 

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

View solution in original post

1 REPLY 1
savvari
Helper I
Helper I

@Anonymous 

 

You may have to unpivot the data to get both NetMargin and GrossMargin into one column with an additional column - MarginType indicating whether it's NetMargin or GrossMargin. This way, you can use MarginType on Axis and Months as Legend.

 

 

Thanks,

savvari

 

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

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.