cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Group Metrics to Display Vertically

So I have a dataset that looks something like this -

 

ProductPlan Gross SalesPlan Net SalesPlan ProfitQuota Gross SalesQuota Net SalesQuota ProfitYAGO Gross SalesYAGO Net SalesYAGO Profit
Brand A120804011580451007545

 

I would like to group metrics and display in a visual like this -

 

Brand APlanQuotaYago
Gross Sales120115100
Net Sales808075
Profit404545

 

How can I do this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Group Metrics to Display Vertically

Hi @nj-matt ,

 

Check the following steps in Query editor.

1# Select Product column use Unpivot other columns feature.

2# Add two custom columns as below.

1.PNG

2.PNG

3.PNG

3# Create the visual.

4.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
Highlighted
Super User IV
Super User IV

Re: Group Metrics to Display Vertically

@nj-matt , refer if this can help

https://kohera.be/blog/power-bi/how-to-unpivot-twice/



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Community Support
Community Support

Re: Group Metrics to Display Vertically

Hi @nj-matt ,

 

Check the following steps in Query editor.

1# Select Product column use Unpivot other columns feature.

2# Add two custom columns as below.

1.PNG

2.PNG

3.PNG

3# Create the visual.

4.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Highlighted
Super User IV
Super User IV

Re: Group Metrics to Display Vertically

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors