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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.