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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
jgdgsf2
Frequent Visitor

"Same value" line values not aligning

Hi everyone,

I have a couple of simple visuals that show how many people have left, in which month, and how many weeks they worked on average before they left.

My issue is, when I change my Weeks Worked to show as an average in the visualisation panel, my average values aren't algining:

 

jgdgsf2_0-1656585679741.png

 

jgdgsf2_1-1656585713217.png

 

As you can see, the "1" in the first graph aren't aligned - the second is slightly lower; same with the "7" in the second graph. This is because the average line is deviating because of the decimals:

 

 

jgdgsf2_4-1656585887726.png

 

jgdgsf2_5-1656585945173.png

 

I want the "1.1" and "0.9" on the first graph to show as "1" and the line to be flat. Same on the second graph - I want the "7.1" and "6.8" to show as "7" and be a flat line.

I have tried changing the data type to whole numbers and fiddled with the axis but I can't get the average line to round to the nearest 0. 

Any help would be greatly appreciated!

 

Thanks

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

Hi @jgdgsf2 ,

Pls add round on the base measure.

 ROUND(MAX('Table'[value]),0)

 Refer the below :

base data:

vluwangmsft_0-1657093695156.png

measure1:(then same question as yours)

t1 = MAX('Table'[value])

Then create visual:

vluwangmsft_1-1657093733281.png

vluwangmsft_2-1657093745490.png

measure2:

t2 = ROUND(MAX('Table'[value]),0)

visual:

vluwangmsft_3-1657093808487.pngvluwangmsft_4-1657093821601.png

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

Hi @jgdgsf2 ,

Pls add round on the base measure.

 ROUND(MAX('Table'[value]),0)

 Refer the below :

base data:

vluwangmsft_0-1657093695156.png

measure1:(then same question as yours)

t1 = MAX('Table'[value])

Then create visual:

vluwangmsft_1-1657093733281.png

vluwangmsft_2-1657093745490.png

measure2:

t2 = ROUND(MAX('Table'[value]),0)

visual:

vluwangmsft_3-1657093808487.pngvluwangmsft_4-1657093821601.png

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

Seanan
Solution Supplier
Solution Supplier

Hi @jgdgsf2 

For your avg weeks worked measure could you see if there are decimal places shown for the values. If there are try changing it to 0

NVIDIA_Share_jSEN62s4aY.png

 

 

Kind regards,
Seanan
If this post helped, please consider accepting it as the solution.

Yep there are definitely no decimals and I have the data type set to whole number - no matter what I try the line deviates slightly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.