Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have column which includes timeframe of 30 minutes for a day (Example: 00:00:00, 00:30:00, 01:00:00, 01:30:00.... till 23:30:00). I have created a Line and clustered column chart, the timeframe is in the X-Axis and I need the timeframe only from 08:00 to 20:00, So basically I need timeslice of the timeframe which I have. Any solution would be of great help. Thanks.
Kind Regards,
Omkar
Solved! Go to Solution.
You can use the following steps:
Create a new calculated column to mark the rows that fall within the desired timeframe.
Filter the visual by the use of new column
1. Creating the calculated column:
IsWithinTimeframe = IF(HOUR([TimeColumn]) >= 8 && HOUR([TimeColumn]) < 20,1,0)
2. Filtering the data:
You can use the following steps:
Create a new calculated column to mark the rows that fall within the desired timeframe.
Filter the visual by the use of new column
1. Creating the calculated column:
IsWithinTimeframe = IF(HOUR([TimeColumn]) >= 8 && HOUR([TimeColumn]) < 20,1,0)
2. Filtering the data:
Hi,
Thank you so much for the help. It worked. Cheers 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
20 | |
14 | |
10 | |
9 | |
6 |