Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
I have a table with several times
GOAL: I need to create a start and end filter by time, filtering this table
What I've done so far:
I created a table that separates the time of a day from 15 to 15 minutes. 00:00 to 23:45
I want to select the start time and end time, and then it will filter the table within that range. In the example above it would be from 01:00 to 01:15
So the result should be:
I created a filter creating a condition, but I feel like I'm still far away:
Can anyone help me?
Solved! Go to Solution.
@jonathangsanto , Create two independent table with these time slots and the try a measure like
new measure =
var _max = maxx(allselected(Time2),Time2[Time])
var _min = minx(allselected(Time1),Time1[Time])
return
calculate( Count(Table[Time]), filter('Table', 'Table'[Time] >=_min && 'Table'[Time] <=_max))
Can you attach an example?
worked perfectly! Thank you very much
@jonathangsanto , Create two independent table with these time slots and the try a measure like
new measure =
var _max = maxx(allselected(Time2),Time2[Time])
var _min = minx(allselected(Time1),Time1[Time])
return
calculate( Count(Table[Time]), filter('Table', 'Table'[Time] >=_min && 'Table'[Time] <=_max))
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 |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |