Forum Discussion
Filter Based on Multi User Selected Values
Hi zkurdi,
Add a Calendar table to your model not related with any of your columns then add following measure to your model:
Count_Project =
VAR Last_Date =
MAX ( DimDate[Date] )
RETURN
CALCULATE (
COUNT(Tickets[Ticket #] );
Tickets[Closed] <= Last_Date
)Add this measure as a filter to your table when is greater than 0 should filter out your information:
Regarding you question on the Max part I use a variable in order to have values inputed on the measure, On the formula we are filtering out all the dates that are lower than the selected date you can't use a MAX function directly on the calculated filter part so using a variable you are able to make it pass the parameter you need.
Regards,
MFelix
Hello MFelix
Many thanks for your reply. I've tried to replicate this but it did not seem to work. I've addded a link to the image showing what my current dashbaord looks like and the modifications i'm trying to impement
link: https://drive.google.com/file/d/1lyEFdlCbvWgo1IFsl_U8UjGkl0cbHSnB/view <it seems i'm unable to attach to this reply or display image from this link>
Ideally, it would be best if i can create a view (filtetered table) based on the user selected year and month and then display data from that table the report
Thanks
Z.K.