29. Practice Exercises and Final Assignment
29.5 Modules 9–10: Folder Combine and Parameters
- Combine three monthly bank statements (Jan, Feb, Mar) from a folder. Clean title rows, Opening/Closing Balance lines and amounts with commas in Transform Sample File.
- Filter out
~$temporary and hidden files. - Derive Month and Month No from Source.Name.
- Make Mar.xlsx use Withdrawal Amt./Deposit Amt. and an extra Value Date column. Fix it with
MissingField.IgnoreandMissingField.UseNull. - Convert a single Amount column with Dr/Cr into Debit, Credit and Net Amount.
- Add Apr.xlsx and refresh. What would you need for scheduled refresh in the Service? What changes with a SharePoint folder?
- Create
FolderPath,ServerName(list) andStartDateparameters and use them in M. - Create a list query of cities and use it as Suggested Values for a
SelectedCityparameter. - Export a .pbit template and open it to test the parameter prompts.
- Create
RangeStart/RangeEndand describe the incremental refresh policy you would set for 3 years of orders.
Ravindra Bagale's Tip
Friends, don't make a mistake here: a common mistake in the folder exercise is testing with only one or two files. Add a third file with a slightly different layout and a hidden temporary file, and make sure your query still works. This matters for both exams and interviews.
Ravindra Bagale's Tip – मराठी
मित्रांनो, इथे चूक करू नका: folder exercise मधली common चूक म्हणजे फक्त एक-दोन files वर test करणं. थोडा वेगळा layout असलेली तिसरी file आणि एक hidden temporary file जोडा, आणि तुमची query तरीही चालते याची खात्री करा. हे exam आणि interview दोन्हीसाठी important आहे.
Ravindra Bagale's Tip – हिंदी
दोस्तों, यहाँ गलती मत करना: folder exercise की common गलती है सिर्फ़ एक-दो files से test करना. थोड़े अलग layout वाली तीसरी file और एक hidden temporary file जोड़ो, और पक्का करो कि तुम्हारी query फिर भी चलती है. यह exam और interview दोनों के लिए ज़रूरी है.