Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, community,
I have a table, such as:
| Project Id | Cycle Id | Cycle Start | Cycle Finish |
| 1 | 1 | 1/02/2021 | 5/03/2021 |
| 2 | 1 | 1/02/2021 | 5/03/2021 |
| 3 | 2 | 8/03/2021 | 11/03/2021 |
| 4 | 2 | 8/03/2021 | 11/03/2021 |
| 5 | 2 | 8/03/2021 | 11/03/2021 |
In the report, I want to filter out all projects which are not in the current cycle.
Thanks
Evan
Solved! Go to Solution.
@amitchandak , I have figured out how to do this.
To explain a little more about the task, I have different reports on current project cycle, next project cycle and so on. Thus, I needed to filter out the content by cycle timeframe.
I used Greg Deckler's reply here https://community.powerbi.com/t5/Desktop/Power-Query-If-x-number-is-between-x-and-y-then-quot-Delete... to index all current and future cycles, so that I got 1 for current, 2 for next etc., and applied page filter based on the cycle number.
Thanks
Evan
@Anonymous , Can you explain with examples. The expected output is not clear to me .
Try a measure like this with independent date table
measure =
var _max1 = maxx(allselected('Date'), Date[Date])
var _min1 = minx(allselected('Date'), Date[Date])
return
calculate(count([Project Id]), filter('Table', 'Table'[Cycle Finish] <=_max1 && 'Table'[Cycle Finish] >=_min1 ))
@amitchandak , I have figured out how to do this.
To explain a little more about the task, I have different reports on current project cycle, next project cycle and so on. Thus, I needed to filter out the content by cycle timeframe.
I used Greg Deckler's reply here https://community.powerbi.com/t5/Desktop/Power-Query-If-x-number-is-between-x-and-y-then-quot-Delete... to index all current and future cycles, so that I got 1 for current, 2 for next etc., and applied page filter based on the cycle number.
Thanks
Evan
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.