Drill Down with Power BI Visualizations
A couple weeks ago in a recent update to Power BI, an enhancement was added to enable a drill-down action...
2015-10-14
423 reads
A couple weeks ago in a recent update to Power BI, an enhancement was added to enable a drill-down action...
2015-10-14
423 reads
A couple weeks ago in a recent update to Power BI, an enhancement was added to enable a drill-down action...
2015-10-14
2,040 reads
Thank you to everyone that attended my Power BI webinar last month, September 29th. Sorry its taken me a while...
2015-10-13
288 reads
Thank you to everyone that attended my Power BI webinar last month, September 29th. Sorry its taken me a while...
2015-10-13
561 reads
SQL Saturday #442 in Orlando, FL has come and gone but what a turn out! The event was excellent, we...
2015-10-12
477 reads
October 4th of this month was my seven year anniversary as an employee of Pragmatic Works. Things have changed a...
2015-10-06
568 reads
SQL Saturday #442 is upon us and yours truly will be presenting in Orlando, Florida on October 10th alongside Mitchell...
2015-09-29
1,033 reads
This week I’m teaching the Pragmatic Works Intro to MDX virtual training class. A student in the class asked how...
2015-09-16
469 reads
One of the current issues in Power BI is the inability to specify a Date table. The Date table is...
2015-09-15
935 reads
Thank you to everyone that attended my webinar titled Power Pivot 101: An Introduction! Also, thank you to Thomas Leblanc...
2015-09-14
645 reads
By Steve Jones
This is timely, as I’m currently on a boat in the Adriatic taking a...
You can find the slides and SQL scripts for my session “Spice up your...
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
Comments posted to this topic are about the item Using CHOOSE()
Comments posted to this topic are about the item Re-Seeding a Broken Log Shipping...
Comments posted to this topic are about the item The DBA is Dead! Long...
We have this code that sets some status values and then queries them using the CHOOSE() function in SQL Server 2025.
CREATE TABLE Status
(
StatusID INT,
StatusDescription VARCHAR(20)
);
GO
INSERT dbo.Status
(
StatusID,
StatusDescription
)
VALUES
(0, 'Uncategorized'),
(1, 'Active'),
(2, 'Inactive'),
(3, 'Temp');
GO
SELECT CHOOSE(StatusID, 'Unknown', 'Active', 'Inactive', 'Temporary')
FROM Status;
When the SELECT runs, what is returned? See possible answers