Forum Discussion
dax equivalent to select not In same table with where condition
- Anonymous6 years ago
Anonymous
You need to create a calulated table not a measureGo to modeling tab
click on new table
and paste following formula
Reports = VAR _values = CALCULATETABLE(VALUES(PowerBIAuditLog[ReportName]),PowerBIAuditLog[Activity]="DeleteReport") RETURN CALCULATETABLE(VALUES(PowerBIAuditLog[ReportName]),NOT(PowerBIAuditLog[ReportName]) IN _values)
Anonymous
You need to create a calulated table not a measure
Go to modeling tab
click on new table
and paste following formula
Reports =
VAR _values = CALCULATETABLE(VALUES(PowerBIAuditLog[ReportName]),PowerBIAuditLog[Activity]="DeleteReport")
RETURN
CALCULATETABLE(VALUES(PowerBIAuditLog[ReportName]),NOT(PowerBIAuditLog[ReportName]) IN _values)
Hi Vimal,
I created new calculated table as you said. I don't see any difference in results. Currently I still reports that are deleted.
- Anonymous6 years agoNot applicable
Anonymous Make sure you are pulling right fields in table. I don't see any of the delete report in new table. If you are using the same data which I have used then you should get 269 records in new table.
- Anonymous6 years agoNot applicable
Hi Vimal,
Could you share me report file which you are using. I am not sure what wrong I am doing here.
- Anonymous6 years agoNot applicable
Hi Vimal,
I got the issue. I was having "DeletedReports" as Filter Changed to "deletedreports". Its all working fine.
Thank you so much for the help. Much appreciated .