[Power BI] Power Query M ํจ์ - let, in
let a = [์ด1], list1 = Table.SelectRows([Table], each [begin] = a)[index] in List.Intersect({list1, list2})โ let statement ์์ ๋ณ์ ์ ์ธ, ํจ์ ์ ์ธ, ํธ์ถ ๊ฐ๋ฅ a ๋ณ์์ [์ด1] ๋์
[Table]์์ [begin]์ด a ๋ณด๋ค ์๊ฑฐ๋ ๊ฐ์ ๊ฐ๋ค์ index๋ฅผ list1์ ๋์
[Table]์์ [end]์ด a ๋ณด๋ค ํฌ๊ฑฐ๋ ๊ฐ์ ๊ฐ๋ค์ index๋ฅผ list2์ ๋์
์ต์ข
= list1, list2์ค ์ค๋ณต ๊ฐ let Add = (x, y) => x + y, AddResults = [ OnePlusOne = Add(1, 1), // equals 2 OnePlusTwo = Add(1, 2) // equals 3 ..
[Power BI] DAX - DATATABLE ํจ์๋ก Static table ๋ง๋ค๊ธฐ
SEGMENTS_DATATABLE = DATATABLE ( "PRICE RANGE", STRING, "MIN PRICE", CURRENCY, "MAX PRICE", CURRENCY, { { "LOW", 0, 10 }, { "MEDIUM", 10, 100 }, { "HIGH", 100, 9999999 } } ) https://www.sqlbi.com/articles/create-static-tables-in-dax-using-the-datatable-function/ Create Static Tables in DAX Using the DATATABLE Function - SQLBI You can create static tables in DAX using the DATATABLE function. This..