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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
PSRai
Helper III
Helper III

Creating a Day or Night Button

Hi

 

I have data that is hourly for 24 hours across a number of days. I would like to show the data across night hours 8pm - 6pm and day hours 7-7. Is there a button that I can create that will do this as part of a measure or a text box (not slicer or filter pane) that will allow me to add in the hours I require?

3 REPLIES 3
v-xuding-msft
Community Support
Community Support

Hi @PSRai ,

I'm confused about your requirement. You want show the existing hours into a button or a text box? And how do you add in the hours? Can you please show some pics and then we will understand clearly? 

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-xuding-msft 

 

Hi 

 

I have a hours column within my table. What I wantto be able to do is show my data throughout varios periods of the day and cross over into the next day if its night. My analysis should be that I can see performance throughout the night as well as day.

 

 

Box = Day followed by two box that is a start and end. This will allow the customer to select any time period. (not a slicer) 

 

 

@v-xuding-msft 

 

Hi 

 

I have a hours column within my table. What I wantto be able to do is show my data throughout varios periods of the day and cross over into the next day if its night. My analysis should be that I can see performance throughout the night as well as day.

 

 

Box = Day followed by two box that is a start and end. This will allow the customer to select any time period. (not a slicer) 

 

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.