Forum Discussion
Matrix Visualisation to filter on 2 date values
- 2 years ago
Active Training Dates = CALCULATE( DISTINCTCOUNT(FactSupply[Contractor__c]), TREATAS(values(TrainingDates[Date]),FactSupply[Training_Date__c]) )I don't think I fully understand the premise - feel free to modify
Hi Anonymous lbendlin , thank you both for your input, I tested both solutions and made progress but still do not have exactly what I require.
Using the disconnected calendar method I have created the TrainingDates table and a Training Dates slicer and this measure
Which returns the correct number of unique technicians with a training date between the Training Dates slicer dates when I place the measure in a card
My requirement is that these 8 technicians only show in the matrix when the status date range is selected - I have tried using the Active Training Dates measure as a visual filter but it doesn't work
Any help would be appreciated. Thanks
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
- Richard_Halsall2 years ago
Helper IV
- lbendlin2 years ago
Super User
Active Training Dates = CALCULATE( DISTINCTCOUNT(FactSupply[Contractor__c]), TREATAS(values(TrainingDates[Date]),FactSupply[Training_Date__c]) )I don't think I fully understand the premise - feel free to modify