Forum Discussion
Anonymous
6 years agoNot applicable
Need help in DAX
Hello Team, We have Exporting the Audit logs into the SQL Database and We are trying to get the list of reports/datasets/dataflows/dashboards not being access for 180 days based on last cre...
- Anonymous6 years ago
Anonymous
You can see the names that no activity and more than 180 days until now with the following:Column = IF(DATEDIFF([Earliest CreationTime max per DatasetName],TODAY(),DAY)>180 && [Activity]<>"DeleteDataset" && [Activity] <>"View Report", TRUE(),FALSE())Then you can drag the columns into a table visual and filter with the this flag column to show the rows that matches the condition.
Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
6 years agoSuper User
I did not get it completely. But you can have flag-like
flag = if(datediff( [Earliest CreationTime max per DatasetName], today(), day)>180 && [Activity]="DeleteDataset" ,1, 0)