Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing minor spelling errors #76

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/CSharpScripts/Advanced/script-format-power-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ applies_to:
versions:
- version: 3.x
---
# Create New M Parameter and Add it to Existing M Partitions
# Format Power Query

## Script Purpose
If you want to format complex Power Query to make it more readable and easy to change.
Expand All @@ -19,7 +19,7 @@ If you want to format complex Power Query to make it more readable and easy to c

## Script

### Create New M Parameter and Add it to Existing M Partitions
### Format Power Query
```csharp
// This script formats the Power Query (M Code) of any selected M Partition (not Shared Expression or Source Expression).
// It will send an HTTPS POST request of the expression to the Power Query Formatter API and replace the code with the result.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ applies_to:
- version: 2.x
- version: 3.x
---
# Edit Hidden Partitions
# Find & Replace Substring in Measures

## Script Purpose
Will find & replace a substring in the selected measures' DAX expression. I.e. if you want to replace `'Customers'[Key Account]` with `'Products'[Type]` in many measures.
Will find & replace a substring in the model's measures DAX expression. I.e. if you want to replace `'Customers'[Key Account]` with `'Products'[Type]` in many measures.
An input box lets the user enter the text to find and a subsequent input lets the user define the replacement text.

## Script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The script outputs the tables that reference the selected explicit (legacy) data

## Script

### Count the rows in the selected table
### Show Data Source Dependencies
```csharp
//The script outputs the tables that reference the selected explicit (legacy) data source.
if (Model.DataSources.Count == 0)
Expand Down
2 changes: 1 addition & 1 deletion whats-new/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h3>Articles</h3>
<ul>
<li><a href="https://blog.tabulareditor.com/2023/11/17/semantic-models-in-simple-terms/">Semantic models in simple terms</a></li>
<li><a href="https://blog.tabulareditor.com/2023/09/27/ci-cd-scripts-for-tabular-editor-2s-cli/">CI/CD scripts for Tabular Editor</a></li>
<li><a href="https://www.oliviervs.be/analysis-services/sortbycolumn-property-set-to-an-invalid-column-id/">SortByColumn property set to an invalid column ID</a> by Oliver Van Steenlandt</li>
<li><a href="https://www.oliviervs.be/analysis-services/sortbycolumn-property-set-to-an-invalid-column-id/">SortByColumn property set to an invalid column ID</a> by Olivier Van Steenlandt</li>
<li><a href="https://github.com/PowerBI-tips/TabularEditor-Scripts">Tabular Editor scripts</a> by <a href="https://powerbi.tips">PowerBI.tips</a></li>
<li><a href="https://blog.tabulareditor.com/2023/07/13/using-tabular-editor-in-microsoft-fabric/">Using Tabular Editor in Microsoft Fabric</a> </li>
<li><a href="https://data-goblins.com/power-bi/format-power-query-automatically">Format Power Query in Power BI</a> by <a href="https://data-goblins.com/">Kurt Buhler</a></li>
Expand Down
Loading