Forum Discussion

adkjfhasdf12440's avatar
adkjfhasdf12440
Frequent Visitor
1 year ago
Solved

Line Y-Axis not charting properly

i'm creating a line and stacked column chart using this data:

 

i changed the Source.Name (dates) to week #s in order to determine "Last Week (balance)". Then i used the below formula to determine the WoW change. 

However, when i use the source.name in the line/column chart, the line graph is plotted as total balance instead of the WoW change (above graph). When i switch out the source.name with the "week" values - the graph is correct:

 

However, i want the dates listed on the x-axis, not the week numbers. 

What can i do to adjust?

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi adkjfhasdf12440 ,

    Based on the description, try to use the following DAX formula. Create the wow column.

    Wow balance change = 'Table'[Total Balance] - 'Table'[Last Week]

    Then, drag the wow column to the Line y-axis. Drag the date to the X-axis.

    The line graph is plotted as wow balance.

     

    Best Regards,

    Wisdom Wu

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

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi adkjfhasdf12440 ,

    Based on the description, try to use the following DAX formula. Create the wow column.

    Wow balance change = 'Table'[Total Balance] - 'Table'[Last Week]

    Then, drag the wow column to the Line y-axis. Drag the date to the X-axis.

    The line graph is plotted as wow balance.

     

    Best Regards,

    Wisdom Wu

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