An open API service indexing awesome lists of open source software.

https://github.com/tirnovar/fabric-multi-workspace-usage-metric-of-reports


https://github.com/tirnovar/fabric-multi-workspace-usage-metric-of-reports

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Fabric Multi Workspace Usage Metric Of Reports
This notebook works inside Microsoft Fabric with Lakehouse

Screenshot 2023-09-21 at 16 27 39

## Tables created
Name | Load type | For Report Purposes |
---- | --------- | ------------------- |
ReportLoadTimes | Increment | ✅
ReportPages | Overwrite | ✅
ReportPageViews | Increment | ✅
Reports | Overwrite | ✅
ReportViews | Increment | ✅
Users | Overwrite | ✅
WorkspaceViews | Overwrite | ✅
UsageMetricsDatasets | Overwrite | ❌

## Usable schema
![image](https://github.com/tirnovar/Fabric-Multi-Workspace-Usage-Metric-Of-Reports/assets/78301524/d6682319-435d-43b2-8e02-4739be5416a0)

## Implemented
- Generation of Usage Metric datasets
- Time-out handling for workspaces in paused capacities
- Handling for workspaces with VIEW permissions
- Backlog of already existing Usage Metric Datasets in Workspaces
- Handling responses without data
- Incremental DAX query for non-first runs
- Removed duplicates from the table Users

## Currently known issues of solution
- Initial load of data from Usage Metric Datasets can contain more than 100k rows or 1M values. (needs to be solved by provided DAX query like in: [Execute Query endpoint - Get your data from datasets](https://datameerkat.com/execute-query-endpoint-get-your-data-from-dataset))
- Initial load to get or generate datasets for Usage Metric can take quite a long time because of the generation process

## Planned updates
- [ ] Convert String Stored Date / DateTime Values into the correct format
- [ ] Support for dynamic larger data extraction
- [ ] Basic report template