Releases: microsoft/semantic-link-labs
Releases · microsoft/semantic-link-labs
semantic-link-labs 0.8.9
Improvements
- New Functions
- sempy_labs
- sempy_labs
- Updated Functions
- sempy_labs
- get_dax_query_dependencies Added the 'show_vertipaq_stats' parameter. The 'dax_string' parameter now accepts either a single DAX query or a list of DAX queries.
- sempy_labs.report.ReportWrapper
- list_visual_objects now shows the Object Display Name (if it was customized within the visual).
- sempy_labs
Bug Fixes
- sempy_labs.admin
- assign_workspaces_to_capacity Fixed issue where the function didn't resolve if workspace was set to None.
- #186
- #314
- #317
- #326
semantic-link-labs 0.8.8
semantic-link-labs 0.8.7
Improvements
-
New Functions
- sempy_labs
- Connections
- Gateways
- Authentication
- ServicePrincipalTokenProvider Class which generates a token provider via Azure Key Vault or Service Principal keys. This is the foundation for authenticating relevant functions via Service Principal. Thanks @ecotte!
- ServicePrincipalTokenProvider.from_azure_key_vault Obtains a token provider using Azure Key Vault credentials.
- ServicePrincipalTokenProvider.from_aad_application_key_authentication Obtains a token provider using Service Principal keys.
- sempy_labs.admin
- sempy_labs
-
Updated Functions
- sempy_labs
- list_connections Now supports pagination.
- initialize_git_connection Now returns commit hash. Thanks @hurtn!
- refresh_semantic_model Added 'commit_mode' parameter. Thanks @gbrueckl!
- sempy_labs.report
- get_report_definition Added the 'return_dataframe' parameter which defaults to True. If set to False, the function returns the json dictionary output.
- sempy_labs.report.ReportWrapper
- list_visuals Title, SubTitle, AltText now support non-literal values (#218) Thanks @stephbruno!
- sempy_labs.admin Thanks @ecotte!
- list_workspaces Now uses the Fabric API and defaults to returning all workspaces. 'filter' parameter is no longer supported. New parameters available: capacity, workspace, workspace_state, workspace_type.
- list_capacities Now supports capacity name or Id.
- assign_workspaces_to_capacity Now supports workspace name or Ids.
- unassign_workspaces_from_capacity Now supports capacity name or Id.
- revoke_external_data_share Supports workspace name or Id.
- list_items Supports capacity name or Id, workspace name or Id.
- list_item_access_details Supports Item Id or name & type. Supports workspace Id or Name.
- list_activity_events Added the 'return_dataframe' parameter, allowing for returning the json dictionary output (if set to False).
- sempy_labs
Bug Fixes
- sempy_labs
semantic-link-labs 0.8.6
Bug Fixes
- #274
- #277
- sempy_labs.migration
- create_pqt_file Fixed the file naming convention when multiple pqt files are generated.
semantic-link-labs 0.8.5
Improvements
- New Functions
- sempy_labs
- DAX
- get_dax_query_dependencies Obtains the columns on which a DAX query depends, including model dependencies (inspired by Chris Webb's blog post).
- get_dax_query_memory_size Obtains the total size, in bytes, used by all columns that a DAX query depends on (inspired by Chris Webb's blog post).
- Dataflows
- list_upstream_dataflows Thanks to Alex Powers, this shows all dataflows upstream of a given dataflow.
- Mirroring
- DAX
- sempy_labs.admin
- sempy_labs.report
- download_report Downloads a Power BI report and saves it as a .pbix file in the Files within the Lakehouse attached to the notebook.
- sempy_labs.tom
- sempy_labs
- Updated Functions
- sempy_labs.tom
- add_calculation_group Added the 'column_name' parameter (#261).
- sempy_labs.tom
Bug Fixes
Notebooks
- Embedded videos within notebooks for easier learning.
semantic-link-labs 0.8.4
Improvements in 0.8.4
- New Functions
- sempy_labs
- Semantic Models
- Warehouses
- Notebooks
- Workloads
- Managed Private Endpoints
- sempy_labs.report
- sempy_labs.directlake
- sempy_labs
- Updated Functions
- sempy_labs
- refresh_semantic_model If the refresh fails, this function now prints out the failure message(s). Added the 'visualize' parameter which if set to True shows a real-time visual of the refresh statistics per Phil Seamark's blog.
- import_notebook_from_web Added the 'overwrite' parameter.
- model_bpa_rules Ensure all rules have descriptions.
- sempy_labs.admin
- list_activity_events Updated 'Creation Time' column to be of datatype 'DateTime'.
- list_workspaces Added the 'filter' parameter (#204).
- Updated the 'admin' functions which reference workspaces to leverage the admin version of list_workspaces.
- sempy_labs
General updates
-
Direct Lake migration now supports relationships based on datetime (#243).
-
Bug fixes
Notebook updates
- SQL Added the get_warehouse_tables, get_warehouse_columns functions.
- Semantic Model Refresh Added cells for visualizing a refresh and getting the refresh history for a semantic model.
semantic-link-labs 0.8.3
Improvements in 0.8.3
- New Functions
- Updated Functions
- sempy_labs
- create_warehouse added a parameter for creating a warehouse with case-insensitive collation.
- Capacity migration functions have been updated to use the admin APIs.
- sempy_labs.tom
- connect_semantic_model Adds lineage tags, source lineage tags and ChangedProperty accordingly to ensure that models (especially Direct Lake) work between making changes in XMLA clients and the Fabric service.
- sempy_labs
- sempy_labs.report
- export_report Updated per PR #65.
Bug Fixes in 0.8.3
- #184
- #185
- #198
- sempy_labs
- deploy_semantic_model Fixed issue with inaccurate subfunction parameter call.
- run_model_bpa The function showed a warning in some environments which has been resolved.
- sempy_labs.tom
- generate_measure_descriptions Fixed for when 'measure_name' is None. The output is now a pandas dataframe showing the auto-generated measure descriptions. Note that this function is only viable if your capacity is a paid F64 or higher (trials not included).
- update_lineage_tags Fixed bug.
Notebooks
- Updated the Capacity Migration notebook to incorporate migrating a Fabric Trial capacity to a Fabric paid capacity.
semantic-link-labs 0.8.2
Bug fixes in 0.8.2
- Fixed library loading issue related to deltalake & pyarrow by reverting back to spark for now.
semantic-link-labs 0.8.1
Improvements in 0.8.1
- sempy_labs
- list_mirrored_warehouses
- create_kql_database
- delete_kql_database
- list_kql_databases
- create_eventhouse
- delete_eventhouse
- list_eventhouses
- delete_warehouse
- create_eventstream
- delete_eventstream
- list_eventstreams
- create_data_pipeline
- delete_data_pipeline
- list_data_pipelines
- create_kql_queryset
- delete_kql_queryset
- list_kql_querysets
- create_ml_model
- delete_ml_model
- list_ml_models
- create_ml_experiment
- delete_ml_experiment
- list_ml_experiments
- list_sql_endpoints
- list_datamarts
- convert_to_friendly_case (#165)
- sempy_labs.tom
- generate_measure_descriptions Uses an LLM to auto-generate descriptions for any/all measures in a semantic model based on the DAX expression.
- is_calculated_column
- update_lineage_tags Use this function to ensure that lineage tags and source lineage tags are properly set on your semantic model to ensure compatibility with the Power BI / Fabric web service.
Updates in 0.8.1
- sempy_labs.tom
- Added the 'is_nullable' and 'is_available_in_mdx' parameters to the update_column function.
Bug Fixes in 0.8.1
- #172
- #174
- Edit Tables functionality in the web browser not working after creating/modifying a semantic model using TOM. This is resolved by properly setting the LineageTag, SourceLineageTag for required objects as well as the 'SchemaName' property for partitions in Direct Lake mode.
- Fixed get_model_calc_dependencies and get_measure_dependencies so that the warning previously shown is resolved and no longer shows.
- Fixed bug in run_report_bpa
- Site containing documentation for the Direct Lake guardrails changed. Fixed get_direct_lake_guardrails
Misc
- Added Featured Scenarios section to README.md
semantic-link-labs 0.8.0
Improvements in 0.8.0
- New Functions
- sempy_labs
- ConnectLakehouse.query Run a SQL query (or queries) against a Fabric lakehouse.
- list_semantic_model_object_report_usage Shows how many times each semantic model object is used in downstream reports.
- list_report_semantic_model_objects Shows where semantic model objects are used in downstream reports (across visuals and filters).
- migrate_workspaces Migrates workspaces to a different capacity.
- migrate_capacities Migrates a capacity (or capacities) to a new F sku capacity including all workspaces and capacity settings.
- migrate_spark_settings Migrates the spark settings from a capacity to a new capacity.
- migrate_notification_settings Migrates the notification settings from a capacity to a new capacity.
- migrate_access_settings Migrates the access settings from a capacity to a new capacity.
- migrate_delegated_tenant_settings Migrates the delegated tenant settings from a capacity to a new capacity.
- migrate_disaster_recovery_settings Migrates the disaster recovery settings from a capacity to a new capacity.
- sempy_labs.admin
- assign_workspaces_to_capacity
- list_capacities
- list_tenant_settings
- list_capacities_delegated_tenant_settings
- unassign_workspaces_from_capacity
- list_external_data_shares
- revoke_external_data_share
- list_workspaces
- list_datasets
- list_item_access_details
- list_access_entities
- list_workspace_access_details
- list_items
- list_domains
- list_domain_workspaces
- assign_domain_workspaces
- assign_domain_workspaces_by_capacities
- create_domain
- update_domain
- delete_domain
- resolve_domain_id
- unassign_domain_workspaces
- unassign_all_domain_workspaces
- sempy_labs.report
- report_bpa_rules Hosts the default Report Best Practice Analyzer rules.
- run_report_bpa Runs the Report Best Practice Analyzer.
- sempy_labs.report.ReportWrapper
- list_pages Lists all pages within a report.
- list_visuals Lists all visuals within a report.
- list_report_filters Lists all report filters within a report.
- list_page_filters Lists all page filters within a report.
- list_visual_filters Lists all visual filters within a report.
- list_visual_objects Lists all visual objects (i.e. measures/columns) which are used in visuals within a report.
- list_visual_interactions Lists all visual interactions within a report.
- list_custom_visuals Lists all custom visuals within a report.
- list_bookmarks Lists all bookmarks within a report.
- list_report_level_measures Lists all report-level measures within a report.
- list_semantic_model_objects Lists all semantic model objects (i.e. measures/columns) used within a report.
- get_theme Gets the theme file used for a report.
- set_theme Sets the theme file to be used for a report.
- set_active_page Sets the active page for a report (page viewed upon opening the report).
- set_page_type Sets the page type for a page within a report.
- set_page_visibility Sets whether a page is hidden/visible.
- hide_tooltip_and_drillthrough_pages Hides pages which are used as tooltip or for drillthrough.
- disable_show_items_with_no_data Disables the 'show items with no data' property for ...
- sempy_labs