Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I am fairly new to DAX and came across this line of code which I am unable to understand.
If understand correctly SELECTCOLUMNS take table as first argument. But in the case below {"Last 2 Months"}
doesn't exist. Also, not sure where [Value] is coming from and how its being recognized. Any help would be appreciated.
DAX:
You are just creating a table using hard code values....
Thanks.
I think I get it. Its creating a table using table constructor
What are you trying to do ?
SELECTCOLUMNS selects the columns you want to keep from a table, create new headers and/or add some expressions.
SELECTCOLUMNS({"Last 2 Months"},"Period",[Value])
Yes, but in this case neither the table exist nor the [Value] but its still giving me results.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
13 | |
13 | |
12 | |
8 | |
7 |
User | Count |
---|---|
18 | |
14 | |
11 | |
11 | |
9 |