cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alex_Ger Frequent Visitor
Frequent Visitor

new dimensions

Hello,

 

I have the excel table looks like this https://prnt.sc/l7fv1z and I want to create a chart like this https://prnt.sc/l7fuqr.

How can I do it?

 

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: new dimensions

Hi @Alex_Ger,

Based on my test, you could refer to below steps in query editor:

Choose the value column(Jan-plan,Jan-Actual,Feb-plan,Feb-Actual....) and use the Unpivot columns function:

1.PNG

Use the 'split columns' function:

1.PNG

Result:

1.PNG

Apply it and create your desired visual:

1.PNG

You could also dowanload the pbix file to have a view.

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
6 REPLIES 6
Alex_Ger Frequent Visitor
Frequent Visitor

new dimensions

Hello,

 

I have the excel table looks like this https://prnt.sc/l7fv1z and I want to create a chart like this https://prnt.sc/l7fuqr. 

How can I do it?

 

Thank you in advance!

rafaelmpsantos Established Member
Established Member

Re: new dimensions

You need to unpivot columns

take a look at that

Community Support Team
Community Support Team

Re: new dimensions

hi, @Alex_Ger

You can use Unpivot Function in Edit Queries as below:

Step1:

Select all Plan and Actual column then click Transform->Unpovit columns

10.PNG

Step2:

Select Attribute column click Column From Example then enter value "Plan"  and then click "OK"

12.PNG

 

13.PNG

 

Step3:

Close&Apply

Drag Attribute field into Axis and Value field into Value and Text After Delimiter field into Legend

15.PNG

Best Regards,

Lin

 

 

1

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

Re: new dimensions

Hi @Alex_Ger,

Based on my test, you could refer to below steps in query editor:

Choose the value column(Jan-plan,Jan-Actual,Feb-plan,Feb-Actual....) and use the Unpivot columns function:

1.PNG

Use the 'split columns' function:

1.PNG

Result:

1.PNG

Apply it and create your desired visual:

1.PNG

You could also dowanload the pbix file to have a view.

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Alex_Ger Frequent Visitor
Frequent Visitor

Re: new dimensions

Hi v-danhe-msft,

 

Thank you so much! that's what I need!

 

 

Alex_Ger Frequent Visitor
Frequent Visitor

Re: new dimensions

Hi again v-danhe-msft,

 

could you please tell me how do I now properly sort the months. I found only A-Z, Z-A and months/values sort, but months are here strings , not in date format. 

chart1.JPG

 

Thank you!