Forum Discussion

EllieRen's avatar
EllieRen
New Member
2 years ago
Solved

Line Graph with line for each week

Hi,  I am trying to create a line graph to show exactly as this picture from excel. I can't seem to get the data to display this way in Power Bi. I have tried numerous tweaks and nothing will displa...
  • Anonymous's avatar
    Anonymous
    2 years ago

    This graph will be made up of 3 different data points: X-Axis, Y-Axis and Legend.

     

    Based on what i see:

    X-Axis is your Column names

    Y-Axis is your Sum of Values

    Legend is your Dates.

     

    You immediate problem will be the column names.  So my suggestion will be to go into Transform Data and do an Unpivot of your data.  This should give you an 'Attribute' column which contains the column heading names, and then 2nd column which holds your values.  Now you should be able to get that X-Axis working.