Forum Discussion
Project Milestones Filter
- 5 years ago
Hi, Anonymous
Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.
Milestone Flag =
CALCULATE (
SELECTEDVALUE ( Milestone[Milestone] ),
FILTER (
Milestone,
Milestone[Start] <= MAX ( 'Calendar'[Date] )
&& Milestone[End] >= MIN ( 'Calendar'[Date] )
)
)https://www.dropbox.com/s/7z7qg9wmicykzh3/Gingerclaire.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, Anonymous
You can easliy create a calendar table and use the date as slicer, and create a measure to show the result.
Like this:
Table 2 = CALENDAR(MIN('Table'[Start]),MAX('Table'[End]))Measure =
MAXX (
FILTER (
ALL ( 'Table' ),
[Start] <= SELECTEDVALUE ( 'Table 2'[Date] )
&& [End] >= SELECTEDVALUE ( 'Table 2'[Date] )
),
[Milestone]
)
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.