Skip to content

Commit 0135815

Browse files
authored
Update README.md
1 parent 69e2ca2 commit 0135815

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

RowsOutline/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
As Power Query import data from Excel spreadsheet into a table structure, then row outline levels could be stored as additional column for such tables.
88

9+
***
10+
911
## Realisation
1012

1113
fnGetRowsOutline(
@@ -14,6 +16,8 @@ As Power Query import data from Excel spreadsheet into a table structure, then r
1416
optional AddOutlinesToData as nullable logical
1517
) as table
1618

19+
Sample is [there](#sample)
20+
1721
### Code:
1822
[ExcelWorksheetsRowOutlines.pq](../RowsOutline/ExcelWorksheetsRowOutlines.pq)
1923

@@ -45,7 +49,7 @@ Based on `Excel.Workbook` built-in function, but adds (one or two, depending on
4549

4650
*Description*: text or list of worksheet names to extract. **Optional**
4751

48-
If argument:
52+
If argument: ExcelWorksheetsRowOutlines_TesterDataSet.xlsx
4953

5054
- not provided,
5155
- or null,
@@ -72,8 +76,17 @@ If null or not provided then `true`
7276
* false,
7377
* null
7478

75-
### Notes:
79+
***
80+
81+
## Notes:
7682
1. Included copy of [Mark White's UnZip function](../UnZip.pq).
7783
2. Both functions (`Excel.Workbook` and `ExcelWorksheetsRowOutlines`) return cells range from worksheet, based on `UsedRange` VBA property (or `dimension` sheet atteribute in SpreadsheetML schema).
7884

85+
***
86+
87+
## [Sample](#sample)
88+
There two files:
89+
* [`ExcelWorksheetsRowOutlines_TesterDataSet.xlsx`](ExcelWorksheetsRowOutlines_TesterDataSet.xlsx), which contains simple workbook with some rows grouping
90+
* [`ExcelWorksheetsRowOutlines_Tester.xlsx`](ExcelWorksheetsRowOutlines_Tester.xlsx), which contains code and several queries to show how function works
7991

92+
Download both files, place them somewhere, and write down a full path to the `ExcelWorksheetsRowOutlines_TesterDataSet.xlsx` in the `ExcelWorksheetsRowOutlines_Tester.xlsx ` (see parameter table inside), then refresh loaded query. You can also look on the other possible function results in Power Query Editor.

0 commit comments

Comments
 (0)