Forum Discussion
Niunias
5 years agoFrequent Visitor
Dynamic target in measures
Hello All, I need a help with a dynamic target and according to this target I would like to calcualte a measure. Let me give you some example. I have a list of countries and each of them have...
- 5 years ago
Hi, Niunias
I am not sure how your data model and tables look like.
I assume you can create a target table like below.
Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.
Tickets within Target =CALCULATE (COUNTROWS ( Tickets ),FILTER ( Tickets, Tickets[Days] <= SELECTEDVALUE ( Targets[Target] ) ))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.
Niunias
5 years agoFrequent Visitor
Brilliant ! Thanks a lot 🙂 You have saved my weekend 🙂