Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

can't create correct X axis

hi All

Novice user here...

I need to create a project overview with information on which division is where in the progress for each steps for each Domain. Below is my sample data set.

  • I would like to be the domains on the Y axis, steps (=columns in my data set) as X axis and the progress bar as values.
  • I also need to be able to filter per division - but a scenario with 3 graphs for each division is also fine.
  • Perfect would also be a time slicer...

For the life of me I can't figure out how to put the steps (columns) on the X axis. I hope someone can help me!

DivisionDomainsStep 1Step 2Step 3Step 4Step 5
AFinance     
AHR10.09.201915.09.201921.09.2019007.10.2019
AIS10.09.201916.09.201921.09.201923.09.201910.10.2019
ASales10.09.2019    
BFinance10.09.201916.09.201923.09.201901.10.201920.10.2019
BHR     
BIS     
BSales10.09.2019    
CFinance10.09.201920.10.2019   
CHR     
CIS     
CSales     

6 Replies

  • kentyler's avatar
    kentyler
    Icon for Solution Sage rankSolution Sage

    Is there data underlying this report... or are you just typing the data into the shape we see here. If there is underlying data what is it like ? Perhaps the answer is to start with the data in a table that has:
    Division  |  Domain |   Step  |  Amount

    as its fields

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi, thanks for reply! This is the actual data, I just changed division names to dummies, etc. Basically in each division there are multiple domains and for each domain in each division we need to perform multiple steps => the values are dates when these steps are set to.

      • kentyler's avatar
        kentyler
        Icon for Solution Sage rankSolution Sage

        I still have the same question.

        Can you gather the data in a record format instead of a spreadsheet format.

        Who inputs the data ? If they could input the same data as records it would make many more things possible for reporting. If not, then the first task is going to be transforming this data into the record format, maybe in SQL Server or in M

  • Hi Anonymous ,

    I think you need to use Unpivoted Columns to meet your needs.

    1. Open the Query Editor in Power Bi, select the column you want to unpivot, select Unpivoted Columns, results are as follows:

    2. Close and Apply, at this time you can create the desired results according to your needs, examples are as follows (you may need to adjust the format of the time before applying the time slicer):

    Here is a demo, please try it

    https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/ETEukiwiFe5Pid3JkisLiTEB2_rVKEJ7JosLGcAuzY1L_Q?e=PysbIO

     

    Best Regards,

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