Hello,
I have a PBI report that lists information for 30 different teams in our organisation. I would like to generate a daily export for each team manager that filters the report by that team only that will then trigger a email with a .csv attachment. Basically one team shouldn't be able to view information for another team.
I am trying to use "Run a query against a dataset" that will filter the information for one team and then I'll replicate that 30 times in separate flows.
I'm struggling to work out if I can apply a filter within the query text as I'm still learning about the DAX coding.
So far, I've created
DEFINE
VAR _TeamAData = ALLSELECTED('TeamStats')
EVALUATE
_TeamAData
Is there something I can add on to this to filter the data to only show TeamA which is one of my data columns in the PBI report as the above is obviously just going to pull everything in that table.
Thanks,
Clare