Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I tested with it, whether there is data from the Source or not, it still goes to "On Success".
What I need is when there is no data from the Source, it should go to "On fail".
Can anyone quickly confirm this?
Thanks.
Hi @tan_thiamhuat,
No, Copy Activity does not fail by default on no data. This is by design Copy Activity does not fail when it copies zero rows. to make it as you intended, you use a pre-check with a Lookup activity to detect empty source and an If Condition to either proceed or fail. This ensures the Copy Activity only runs when there is data, and you explicitly route the pipeline to fail when the source is empty.
Thanks,
Prashanth Are
MS Fabric community support
If this my response resolves your issue, please mark it as "Accept as solution" and give kudos if you found it helpful.
are you able to do some printscreen to illustrate? How do we detect if there is a file in the SFTP Server?
User | Count |
---|---|
68 | |
38 | |
15 | |
14 | |
5 |
User | Count |
---|---|
73 | |
64 | |
25 | |
8 | |
7 |