Slicing and dicing

The spreadsheet-for-component and spreadsheet-for-report endpoints support dynamic slicing and dicing.

Promoting aspects to dicers

Let us start again with our example balance sheet for Canon. By default, XBRL periods are used as dicers and appear as column headers.

Let us add the fiscal year as a dicer. We use the parameter ::category and set it to "dicer".

Let us add the fiscal period as a dicer as well.

Now, we can make the XBRL period a slicer to get a nice view over fiscal years and periods. We also use the parameter ::category and set it to "slicer".

By default, slicers are invisible. We can make XBRL period appear in the slicer section with the ::visible parameter and set it to true.

Finally, we notice that only FY fiscal periods are available. We can make xbrl28:FiscalPeriod a slicer again.