Forum Discussion
Calculating count of values between dates
FlowViz create the relationship between date table and inprogress date columns, if you already have relationship on another column with the date table and then this new relationship will be inactive which is fine, and you can write following measure to make inactive relationship to active to get the count:
InProgress Count =
CALCULATE (
COUNTROWS ( YourTable ),
USERELATIONSHIP ( YourTable[InProgressDate], DateTable[Date] )
)
and to visualize, use a column from the date column and above measure. For the 2nd question, check out this dynamic segmentation blog post and you can tweak it to make it work for you.
✨ Follow us on LinkedIn and to our YouTube channel
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
Thanks for the suggestion. That doesn't quite give me what I'm after:
It only shows dates where something goes 'InProgress' not the count of how many items are InProgress on a given date...