Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Need help for creating Line Graph

Need help to create a line graph with months in the x axis for the given below table. Project number is not necessary to be displayed or even used in graph.  I want to show the performance on monthl...
  • PaulDBrown's avatar
    PaulDBrown
    4 years ago

    In Power Query, you can try the following (you need a column for sorting purposes):

    1) If the periods are sorted properly, add an index column

    2 If the periods are not sorted chronologically, add a conditional column along the lines of:
    If the period table = Sales P01 (actual) then 1

    If the period table = Sales P02 (actual) then 2

    ....

     

    Once the table is loaded, go into the table view, select the period table and in the ribbon, select "Sort by column" and select the order column.