Hi all,
I am stuck and i do not know how to move on.
I have a SharePoint folder which i have several excel files, which is manually updated daily. And those files are used to as a source for a PowerBi dashboard, so I have created a flow to refresh a PowerBi when a file is modified in the folder, which is working greatly so far.
This flow has as trigger When a file is created or modified (properties only) which i have added to the setting on the trigger condition the expression : @equals(triggerOutputs()?['body/{FilenameWithExtension}'], 'File_name.xlsx')
So when the specific file is modified it performs the powerbi dataset refresh. However now i need to put as condition when 2 specific files are modified then perfoms the dataset refresh.
I have tried to add on the condition the line 1: @equals(triggerOutputs()?['body/{FilenameWithExtension}'], 'File_name.xlsx') and line 2 : @equals(triggerOutputs()?['body/{FilenameWithExtension}'], 'File_name2.xlsx') however when i modify the those files the flow doesn't trigger.
I also tried @And(equals(triggerOutputs()?['body/{FilenameWithExtension}'], 'File_name.xlsx'), equals(triggerOutputs()?['body/{FilenameWithExtension}'], 'File_name2.xlsx') ) which doesn't work either.
I do not know if theres' a way to trigerr only if those 2 specific files has been modified.