Forum Discussion
AlexaderMilland
Helper III
3 years agoLatest value before a selected date
I'm having trouble getting this to work in a DAX measure. User picks a single date For each CustomerID find their latest permissiontype that is before that time. This should be in an intermedia...
- 3 years ago
Ahmedx
Super User
3 years agoBased on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26RiWuJZByhXXf8ZqfE?e=R48eEb
AlexaderMilland
Helper III
3 years agoYeah but that is only the intermediate table, not the one I actually want to be the output.
I want the output to be the distinctcount of customerid per permissiontype of that table you just created.
So I would need the above measure to be an calculatetable in the DAX measure and then some final measure function that can calculate the number of customerIDs per type.
The final output on the canvas would not contain the CustomerID