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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Ibrahim_shaik
Helper V
Helper V

Line Chart X axis range switch

Hi Power Bi Community,

 

I use line chart with timestamp and date on x axis.

 

I have a date filter to filter the line chart.

 

when i select one day it shows 24 hour timestamps which is fine.line chart range.png

 But when i select more than 1 day that is two or three days it does not show the selected days hourly timestamps in the chart it only adds up the y axis values for the same timestamps and displays the graph for the selected number of days.

 

So i used drill up and then one level down hierarchy then it gives all the timestamps of each day separately but then i have to horizontally scroll which i don't want.

 

And then I used continuous X axis even that didn't solve when i select more than 1 day it gives only 12 AM to next day 12 AM range it want next day timestamps as well.

x axis range.png

 

Please suggest a solution.

 

Thank you.

 

2 REPLIES 2
VillyMBI
Resolver I
Resolver I

Hi @Ibrahim_shaik ,

It looks like you have taken the proper steps, but I would like to know how you created the DIM DATE TIME table and its relationship with your FACT table to understand your situation. 

 

I have not created Date time table separately it's in the same table with the fields that i have used in the line chart.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.