🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
19
node_modules/shiki/samples/dax.sample
generated
vendored
Normal file
19
node_modules/shiki/samples/dax.sample
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-- COALESCE returns the first non-blank of its arguments
|
||||
-- It is commonly used to provide default values to expressions
|
||||
-- that might result in a blank
|
||||
EVALUATE
|
||||
SELECTCOLUMNS (
|
||||
TOPN ( 10, Store ),
|
||||
"Store name", Store[Store Name],
|
||||
"Manager",
|
||||
COALESCE ( Store[Area Manager], "** Not Assigned **" ),
|
||||
"Years open",
|
||||
DATEDIFF (
|
||||
Store[Open Date],
|
||||
COALESCE ( Store[Close Date], TODAY () ),
|
||||
YEAR
|
||||
)
|
||||
)
|
||||
ORDER BY [Manager]
|
||||
|
||||
-- From https://dax.guide/coalesce/
|
||||
Loading…
Add table
Add a link
Reference in a new issue