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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

X-axis weeks with numbers should show as continuous issue

Hello Team,

    I am having some issue with x-axis in one of my requirements. I have one line chart with weeks as X-axis and Sales as Y-axis with cumulative some for Sales. Here is an example.

   for week 0 sales are 11 millions
   For week 10 sales are 15 millions so we show total 26 millions in week 10 ....etc.

 

I have built some logic that calculates Cumulative summ and added week number to X-axis now it is working fine. But some issue is coming when add "Week" keyword to X-axis column and automatically converts to Categorical from Continuous and showing all week with scroling is coming.

 

I should show only 5 Weeks with lables Week 0, Week 10, Week 20 , Week 30 , Week 40 and Week 50 in X-axis without effecting cumulative sum. Please give me some ideas.

for some of refference 

theaskk_1_0-1664365301194.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Create a independent week table and use it as x-axis.

Also modify the measure using weeks in week table instead.

 

Best Regards,

Jay

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Create a independent week table and use it as x-axis.

Also modify the measure using weeks in week table instead.

 

Best Regards,

Jay

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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