Forum Discussion
Anonymous
6 years agoNot applicable
dax equivalent to select not In same table with where condition
Hi All, I have table that has log that has records for same stores which are open,closed. I want to select stores which are not closed I am looking for Dax equivalent for following query SQL: s...
- 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
6 years agoNot applicable
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.
Anonymous
6 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 .