I have an automate that update a power bi dataset each time a file is modified in a sharepoint (the source of the power BI are stored in this sharepoint)
I added the following condition to my trigger so it only activate when a .csv file is modified :
@contains(triggerOutputs()?['body/{FilenameWithExtension}'], 'csv')
I want to modify the condition so my trigger activate when a .csv file OR a .xlsx file is modified
I tried
or(@contains(triggerOutputs()?['body/{FilenameWithExtension}'], 'csv'),@contains(triggerOutputs()?['body/{FilenameWithExtension}'], 'xlsx'))
But it does not seems to work
Can someone help me ?