How to customize the row and column in the table, and the Axis and Legend in the column chart?

Tianyang Jiang 21 Reputation points
2021-04-13T00:44:38.397+00:00

Hi everyone,

I recently have encountered some problems. In order to explain my problem conveniently, I created a demo case. The structure of this table is similar to the structure of my work. Below is a screenshot of this table and the results I have achieved.

87192-question-1.png

87193-question-2.png

87194-question-3.png

87195-question-4.png

87196-question-5.png

As you can see, the table and two-column charts in the screenshot can be achieved now, but the result I really want to achieve is the following two pictures.

87197-my-requirement-6.jpg

87198-my-requirement-7.jpg

In the final table, I want my row to have the Top-2 values of Actual rank among all L2 values (Car and House in this case), and then separate Others as a row, and then create a new row All Other including all values except Top-2 and Others. (In this case, there are Apple, Banana, and Melon)

In the column, I want to show only 4 columns which are Actual 2020(The Actual value in 2020), Actual 2021, Budget 2021, and Forecast 2021.

The two requirements are too hard for me, I tried a lot of functions such as creating a new table, or add some Measures, but I failed. :(

In the two-column charts, I want to show the special value in Axis and Legend (I wrote them in the picture) but I also failed. I don't know which way is the correct one.

Community Center | Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. Ehren (MSFT) 1,781 Reputation points Microsoft Employee
    2021-04-13T22:59:08.77+00:00

    This sounds like more of a Power BI question than a Power Query one. I'd recommend you post it on the Power BI Community forum.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.