Additional Articles


External Article

DAX CASE Statement Functionality with IF, SWITCH and SWITCH True

The CASE expression is one of the most valuable tools in your T-SQL toolbox. I use it in almost every query I write. However, there isn't a direct equivalent of CASE in DAX. Since it's a different language entirely, I don't expect it. As my grandmother used to say, I am not surprised, just disappointed. If you don't know, DAX (Data Analysis Expressions) is a language for creating custom calculations and aggregations in Power Pivot, Power BI, and other data analysis tools. Two functions in DAX come close to replicating the functionality but come with limitations. Which one of these functions should you use? Please stay tuned.

2023-04-03

External Article

Piping, Filtering and Using Flyway Output in PowerShell

Flyway's output is often overwhelmed with verbose messages, most of which we can ignore but some of which provide vital warnings about failed compilations, or useful details about what a migration or callback did. I'll show how to use some pipeline-aware PowerShell functions to filter out and save the bits we want and pass the results along in a form that is useful to the next process in the pipeline.

2023-03-29

External Article

Using TOP clause in a SELECT statement

There might be a time when you might want to return just a few rows of a result set, instead of the complete set. This might be useful if you want to just validate a selection criteria or a few rows of data. For whatever the reason the TOP clause can be used to return a specific number or a percentage of rows from a result set. This article will cover using the TOP clause in a SELECT statement and how it can be used to return a partial set of records.

2023-03-29

Blogs

Replacing Images in PBIR Format Reports

By

With the PBIR format of Power BI reports, it’s much easier to make report...

Capturing Ideas for Blogs

By

As we close out the year, I decided to drop this post here and...

A New Word: Lilo

By

lilo– n. a friendship that can lie dormant for years only to pick right...

Read the latest Blogs

Forums

The Oldest Article

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Oldest Article

Happy New Year 2025

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Happy New Year 2025

Using a RETURN

By stevec883

How does this capture multiple values from a cursor, and put them into an...

Visit the forum

Question of the Day

The Oldest Article

What's the oldest article on SQL Server Central (take a guess)?

See possible answers