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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
balaji26
Regular Visitor

my filter consists different time intervals. The graph should show values based on selected time in

HI guys, I have the following requirement.

 

I am working on power BI desktop to create a dashboard where my input is a list of time ranges with specific intervals.

consider the following time ranges and intervals

24 hours by 60 mins - this means the x-axis of the grapsh should display data for the last 24 hours at an interval of 60 mins.

24 hours by 30 mins - last 24 hours data at an interval of 30 mins

similarly,

12 hours by 30 mins

6 hours by 15 mins

28 days by 24 hours. 

 

the table contains a measure value as a column. And a date field (create_time). this create time should be shown in such intervals as mentioned above and corresponding measure value in a line graph. 

 

Please let me know how to achieve this? 

 

Thanks so much in advance

Balaji

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @balaji26,

 

Based on my understanding, the data table contains a date/time field called [create-time] and a measure returning corresponding values that should be displayed in chart. And the slicer filter lists all interval types (24 hours by 60 mins, 24 hours by 30 mins, etc), right? The [create-time] displayed on X-axis will be divided into different intervals based on slicer selection, right?

 

In my opinion, this cannot be achieved directly. Personally speaking, you might create multiple columns, one column represents 24 hours by 60 mins, one column represents 12 hours by 30 mins, etc. In other words, you need separate columns that matches each slicer item.

 

To dynamically change X-axis, you can refer to the solution in this thread.

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors