Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
adkjfhasdf12440
New Member

Line Y-Axis not charting properly

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

adkjfhasdf12440_2-1725896952485.png

 

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. 

adkjfhasdf12440_1-1725895049378.png

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:

adkjfhasdf12440_1-1725896806073.png

 

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

What can i do to adjust?

1 ACCEPTED SOLUTION
v-jiewu-msft
Community Support
Community Support

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.

vjiewumsft_0-1725931884940.png

The line graph is plotted as wow balance.

vjiewumsft_2-1725931918161.png

 

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.

View solution in original post

1 REPLY 1
v-jiewu-msft
Community Support
Community Support

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.

vjiewumsft_0-1725931884940.png

The line graph is plotted as wow balance.

vjiewumsft_2-1725931918161.png

 

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.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.