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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PBIBee321
Regular Visitor

Reduce the number of data points for X by adding range

Hi All,

 

I basically want to plot a line chart with the below values:-

 

Now the challenge is instead of plotting against all the values in X axis , I want to plot the X axis in a range like  0,0.1,0.2,0.3 and so on and the values for the x that lies between x = 0 to 0.1 should be plotted against all its value for Y but not as individual points . so basically X should have 0,0.1,0.2,0.3  for the below values and all the values of X against Y should be plotted in the range 0,0.1,0.2 and 0.3 instead of plotting them as inidvidual points because it will make the X plot too big so I want to divide it into subcategory.If I individually mark X against Y as per my source table then it will occupy a lot of space and will not fit the view as well 

 

Please advice if any measure or calculated field or data table can handle this line chart.

 

My Source table is as below :-

 

XY
0.09424101.2
0.09728101.2
0.1003101.2
0.1034101.2
0.1064101.2
0.1094101.2
0.1125101.2
0.2098102
0.2128102.7
0.2158102.7
0.2189102.7
0.2219102.7
0.225102.7
0.301103.5
0.304103.5
0.307103.5
0.3101103.5

 

Guttu

1 REPLY 1
tamerj1
Super User
Super User

Hi @PBIBee321 
You can create a new column X1 = ROUNDUP ( 'Table'[X], 1 )
Then plot X1 against MAX ( 'Table'[Y] )
unless X and Y are measures?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.