Showing posts with label PowerBI. Show all posts
Showing posts with label PowerBI. Show all posts

Wednesday, June 18, 2025

Languages used in Power BI, Power Automate, Power Apps, and Dataverse, along with summaries, usage, examples, and links to their respective API

Power BI

Language

Summary

Code Example

LanguageUsedIn

Docs

DAX

Formula language for calculated columns, measures, and tables.

Total Sales = SUM(Sales[Amount])

Measures, Calculated Columns, Calculated Tables, Row-Level Security

DAX Reference

M (Power Query)

Functional language for data transformation in Power Query Editor.

= Table.SelectRows(Sales, each [Amount] > 1000)

Power Query Editor, Data Source Queries, Query Parameters

M Language Reference

R / Python

Used for advanced analytics and custom visuals.

summary(lm(Sales ~ Region, data=sales_data)) (R)

Power BI Desktop Scripts, Custom Visuals, Transform Data Scripts

R & Python in Power BI


Power Automate

Language

Summary

Code Example

LanguageUsedIn

Docs

Workflow Definition Language (WDL)

JSON-based schema for defining flow logic and expressions.

@equals(triggerBody()?['Status'], 'Approved')

Conditions, Expressions, Dynamic Content, Advanced Mode in Actions

WDL Overview

Power Fx

Low-code formula language used in some expressions and integrations.

If(Status = "Approved", "Proceed", "Hold")

Instant Plugins, Dataverse Accelerator, Desktop Flows (Preview)

Power Fx in Power Automate


Power Apps

Language

Summary

Code Example

LanguageUsedIn

Docs

Power Fx

Excel-like formula language for app logic and UI behavior.

If(User().Email = "admin@contoso.com", Navigate(AdminScreen), Navigate(HomeScreen))

Canvas Apps, Cards, Formula Columns, Model-Driven Command Bars, Instant Plugins

Power Fx Docs

JSON / REST APIs

Used for external data integration via custom connectors.

Patch(MyDataSource, Defaults(MyDataSource), {Name: "Jason"})

Custom Connectors, HTTP Actions via Power Automate, REST API Bindings

Power Apps REST APIs


Dataverse

Language

Summary

Code Example

LanguageUsedIn

Docs

OData / Web API (REST)

HTTP-based API for CRUD operations on Dataverse data.

GET https://<org>.crm.dynamics.com/api/data/v9.2/accounts

External Integrations, Custom Connectors, Power BI Direct Query, Power Apps REST Calls

Dataverse Web API

C# (via SDK)

Used in plugins, custom workflows, and server-side logic.

service.Create(new Account { Name = "Contoso" });

Plugins, Custom Workflow Activities, Azure Functions, Server-Side Extensions

Dataverse SDK


Would you like this exported as a CSV or markdown file for quick reference? Or maybe a visual map showing how these languages interact across the platform? I can whip that up too. Let me know how deep you want to go

Friday, May 2, 2025

What difference between Microsoft Power BI Desktop (Optimized for Power BI Report Server - September 2024) and Microsoft Power BI Desktop and Microsoft® Power BI Report Builder

  The differences between Microsoft Power BI Desktop (Optimized for Power BI Report Server - September 2024)Microsoft Power BI Desktop, and Microsoft Power BI Report Builder lie in their purpose, functionality, and target environment. Below is a concise comparison:

1. Microsoft Power BI Desktop (Optimized for Power BI Report Server - September 2024)
  • Purpose: A specialized version of Power BI Desktop tailored for creating and publishing reports to Power BI Report Server, an on-premises reporting platform.
  • Key Features:
    • Optimized for compatibility with Power BI Report Server (September 2024 release).
    • Does not include preview features until they are generally available, ensuring stability for on-premises environments.
    • Supports interactive Power BI reports (.pbix files) and connectivity to on-premises data sources without requiring a gateway for local data.
    • Lacks some cloud-specific features (e.g., dashboards, Q&A, shared datasets, advanced AI/ML capabilities) available in the Power BI Service.
    • Can be installed side-by-side with standard Power BI Desktop.
  • Environment: On-premises, designed for organizations needing to keep data and reports within their firewall for security or regulatory reasons.
  • Limitations:
    • Does not support paginated reports (.rdl files).
    • Limited to features supported by the specific Report Server version (e.g., no export to Excel with current layout).
    • Custom security extensions may prevent direct saving to the Report Server; reports must be uploaded manually.
2. Microsoft Power BI Desktop
  • Purpose: The standard version of Power BI Desktop, designed for creating interactive reports and dashboards for the Power BI Service, a cloud-based platform.
  • Key Features:
    • Supports a broader range of features, including preview features, frequent updates, and cloud-specific capabilities like dashboards, shared datasets, Q&A, and AI-driven insights.
    • Creates .pbix files for interactive, screen-optimized reports with advanced visuals and data modeling.
    • Integrates with Microsoft Fabric and other cloud services (e.g., Power Automate, Power Apps).
    • Allows data import, transformation, and visualization from various sources using Power Query and DAX.
  • Environment: Primarily cloud-based (Power BI Service), though reports can be shared locally or published to on-premises servers with limitations.
  • Limitations:
    • Not optimized for Power BI Report Server; reports created may not be fully compatible with on-premises servers due to version differences or unsupported features.
    • Cannot create paginated reports.
3. Microsoft Power BI Report Builder
  • Purpose: A standalone tool for creating paginated reports (.rdl files) optimized for printing or exporting to formats like PDF or Excel.
  • Key Features:
    • Designed for "pixel-perfect" paginated reports with precise control over layout, ideal for printed reports or fixed-format documents.
    • Based on SQL Server Reporting Services (SSRS) technology, supporting Report Definition Language (.rdl) files.
    • Supports accessibility features (e.g., tagging headers, text box properties) and conditional formatting.
    • Can connect to Power BI datasets or other data sources via SQL Server Analysis Services.
    • Compatible with Power BI Report Server and older SSRS versions (2016, 2017, 2019).
  • Environment: Primarily used with Power BI Report Server or SSRS for on-premises deployment, though paginated reports can be published to Power BI Service with a premium capacity.
  • Limitations:
    • Lacks the interactive, exploratory features of Power BI Desktop reports.
    • Not suited for building dashboards or highly interactive visuals.
Key Differences Summary
Aspect
Power BI Desktop (Optimized for Report Server)
Power BI Desktop
Power BI Report Builder
Primary Use
Interactive reports for on-premises Report Server
Interactive reports for cloud (Power BI Service)
Paginated reports for printing/export
File Format
.pbix (interactive reports)
.pbix (interactive reports)
.rdl (paginated reports)
Environment
On-premises (Power BI Report Server)
Cloud (Power BI Service)
On-premises or cloud (premium)
Feature Set
Stable, server-compatible features
Latest features, cloud-focused
Pixel-perfect, print-focused
Preview Features
Excluded until generally available
Included
Not applicable
Data Connectivity
On-premises focus, no gateway for local data
Cloud and local with gateway
SSRS-based, dataset-focused
Interactivity
High (slicers, filters, visuals)
High (dashboards, AI)
Low (static, formatted reports)
Compatibility
Tied to specific Report Server version
Power BI Service
Report Server, SSRS, premium cloud
Which Tool to Use?
  • Use Power BI Desktop (Optimized for Report Server - September 2024) if your organization uses Power BI Report Server and needs interactive reports hosted on-premises.
  • Use Power BI Desktop for cloud-based reporting, collaboration, and access to the latest features in the Power BI Service.
  • Use Power BI Report Builder for paginated reports requiring precise formatting for printing or export, especially in on-premises environments or premium cloud workspaces.
For further details, refer to Microsoft’s official documentation on Power BI Report Server and Power BI Desktop