KỸ NĂNG MỚI

Kỹ Năng Mới - Nơi Chia Sẻ Những Kỹ Năng,Khóa Học Miễn Phí,Tài Liệu... Giúp Bạn Phát Triển Kỹ Năng Và Học Free Mọi Thứ Trên Đời. Kynangmoi.Info - Bạn Cần Học Gì - Chúng Tôi Có Free.

Comments

Tìm kiếm Blog này

Saturday, March 11, 2023

DAX Cheat Sheet PDF 2023 Free

  

DOWNLOAD
DOWNLOAD 2

DAX Cheat Sheet PDF 2023 Free

This cheat sheet is your handy companion when working with DAX formulas and statements in Power BI.

Power BI is one of the most robust and powerful business intelligence tools out there. One of the most powerful features of Power BI is DAX (Data Analysis Expressions), which is a formula expression designed for advanced data analysis. DAX formulas contain functions, operators, statements, and more. This cheat sheet is designed to be your handy companion when working with DAX in Power BI. 

Maths & Statistical Functions

  • SUM(<column>) Adds all the numbers in a column.
  • SUMX(<table>, <expression>) Returns the sum of an expression evaluated for each row in a table.
  • AVERAGE(<column>) Returns the average (arithmetic mean) of all the numbers in a column.
  • AVERAGEX(<table>, <expression>) Calculates the average (arithmetic mean) of a set of expressions evaluated over a table.
  • MEDIAN(<column>) Returns the median of a column.
  • MEDIANX(<table>, <expression>) Calculates the median of a set of expressions evaluated over a table.
  • GEOMEAN(<column>) Calculates the geometric mean of a column.
  • GEOMEANX(<table>, <expression>) Calculates the geometric mean of a set of expressions evaluated over a table.
  • COUNT(<column>) Returns the number of cells in a column that contains non-blank values.
  • COUNTX(<table>, <expression>) Counts the number of rows from an expression that evaluates to a non-blank value.
  • DIVIDE(<numerator>, <denominator> [,<alternateresult>]) Performs division and returns alternate result or BLANK() on division by 0.
  • MIN(<column>) Returns a minimum value of a column.
  • MAX(<column>) Returns a maximum value of a column.
  • COUNTROWS([<table>]) Counts the number of rows in a table.
  • DISTINCTCOUNT(<column>) Counts the number of distinct values in a column.
  • RANKX(<table>, <expression>[, <value>[, <order>[, <ties>]]]) Returns the ranking of a number in a list of numbers for each row in the table argument.

Filter Functions

  • FILTER(<table>, <filter>) Returns a table that is a subset of another table or expression.
  • CALCULATE(<expression>[, <filter1> [, <filter2> [, …]]]) Evaluates an expression in a filter context.
  • HASONEVALUE(<columnName>) Returns TRUE when the context for columnName has been filtered down to one distinct value only. Otherwise, it is FALSE.
  • ALLNOBLANKROW(<table> | <column>[, <column>[, <column>[,…]]]) Returns a table that is a subset of another table or expression.
  • ALL([<table> | <column>[, <column>[, <column>[,…]]]]) Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied.
  • ALLEXCEPT(<table>, <column>[, <column>[,..]]) Returns all the rows in a table except for those rows that are affected by the specified column filters.
  • REMOVEFILTERS([<table> | <column>][, <column>[, <column>[,…]]]]) Clear all filters from designated tables or columns.

Logical Functions

  • IF(<logical_test>, <value_if_true>[, <value_if_false>]) Checks a condition, and returns a certain value depending on whether it is true or false.
  • AND(<logical 1>, <logical 2>) Checks whether both arguments are TRUE, and returns TRUE if both arguments are TRUE. Otherwise, it returns FALSE.
  • OR(<logical 1>, <logical 2>) Checks whether one of the arguments is TRUE to return TRUE. The function returns FALSE if both arguments are FALSE.
  • NOT(<logical>) Changes TRUE to FALSE and vice versa.
  • SWITCH(<expression>, <value>, <result>[, <value>, <result>]…[, <else>]) Evaluates an expression against a list of values and returns one of possible results
  • IFERROR(<value>, <value_if_error>) Returns value_if_error if the first expression is an error and the value of the expression itself otherwise.

Date & Time Functions

  • CALENDAR(<start_date>, <end_date>) Returns a table with a single column named "Date" that contains a contiguous set of dates.

  • DATE(<year>, <month>, <day>) Returns the specified date in datetime format.

  • DATEDIFF(<date_1>, <date_2>, <interval>) Returns the number of units between two dates as defined in <interval>.
  • DATEVALUE(<date_text>) Converts a date in text to a date in datetime format.
  • DAY(<date>) Returns a number from 1 to 31 representing the day of the month.
  • WEEKNUM(<date>) Returns weeknumber in the year.
  • MONTH(<date>) Returns a number from 1 to 12 representing a month.
  • QUARTER(<date>) Returns a number from 1 to 4 representing a quarter.

Time Intelligence Functions

  • DATEADD(<dates>, <number_of_intervals>, <interval>) Moves a date by a specific interval.
  • DATESBETWEEN(<dates>, <date_1>, <date_2>) Returns the dates between specified dates.
  • TOTALYTD(<expression>, <dates>[, <filter>][, <year_end_date>]) Evaluates the year-to-date value of the expression in the current context.
  • SAMEPERIODLASTYEAR(<dates>) Returns a table that contains a column of dates shifted one year back in time.
  • STARTOFMONTH(<dates>) // ENDOFMONTH(<dates>) Returns the start // end of the month.
  • STARTOFQUARTER(<dates>) // ENDOFQUARTER(<dates>) Returns the start // end of the quarter.
  • STARTOFYEAR(<dates>) // ENDOFYEAR(<dates>) Returns the start // end of the quarter.

Relationship Functions

  • CROSSFILTER(<left_column>, <right_column>, <crossfiltertype>) Specifies the cross-filtering direction to be used in a calculation.
  • RELATED(<column>) Returns a related value from another table.

Table Manipulation Functions

  • SUMMARIZE(<table>, <groupBy_columnName>[, <groupBy_columnName>]…[, <name>, <expression>]…) Returns a summary table for the requested totals over a set of groups.
  • DISTINCT(<table>) Returns a table by removing duplicate rows from another table or expression.
  • ADDCOLUMNS(<table>, <name>, <expression>[, <name>, <expression>]…) Adds calculated columns to the given table or table expression.
  • SELECTCOLUMNS(<table>, <name>, <expression>[, <name>, <expression>]…) Selects calculated columns from the given table or table expression.
  • GROUPBY(<table> [, <groupBy_columnName>[, [<column_name>] [<expression>]]…) Create a summary of the input table grouped by specific columns.
  • INTERSECT(<left_table>, <right_table>) Returns the rows of the left-side table that appear in the right-side table.
  • NATURALINNERJOIN(<left_table>, <right_table>) Joins two tables using an inner join.
  • NATURALLEFTOUTERJOIN(<left_table>, <right_table>) Joins two tables using a left outer join.
  • UNION(<table>, <table>[, <table> [,…]]) Returns the union of tables with matching columns.

Text Functions

  • EXACT(<text_1>, <text_2>) Checks if two strings are identical (EXACT() is case sensitive).
  • FIND(<text_tofind>, <in_text>) Returns the starting position a text within another text (FIND() is case sensitive).
  • FORMAT(<value>, <format>) Converts a value to a text in the specified number format.
  • LEFT(<text>, <num_chars>) Returns the number of characters from the start of a string.
  • RIGHT(<text>, <num_chars>) Returns the number of characters from the end of a string.
  • LEN(<text>) Returns the number of characters in a string of text.
  • LOWER(<text>) Converts all letters in a string to lowercase.
  • UPPER(<text>) Converts all letters in a string to uppercase.
  • TRIM(<text>) Remove all spaces from a text string.
  • CONCATENATE(<text_1>, <text_2>) Joins two strings together into one string.
  • SUBSTITUTE(<text>, <old_text>, <new_text>, <instance_num>) Replaces existing text with new text in a string.
  • REPLACE(<old_text>, <start_posotion>, <num_chars>, <new_text>) Replaces part of a string with a new string.

Information Functions

  • COLUMNSTATISTICS() Returns statistics regarding every column in every table. This function has no arguments.
  • NAMEOF(<value>) Returns the column or measure name of a value.
  • ISBLANK(<value>) // ISERROR(<value>) Returns whether the value is blank // an error.
  • ISLOGICAL(<value>) Checks whether a value is logical or not.
  • ISNUMBER(<value>) Checks whether a value is a number or not.
  • ISFILTERED(<table> | <column>) Returns true when there are direct filters on a column.
  • ISCROSSFILTERED(<table> | <column>) Returns true when there are crossfilters on a column.
  • USERPRINCIPALNAME() Returns the user principal name or email address. This function has no arguments.

DAX Statements

  • VAR(<name> = <expression>) Stores the result of an expression as a named variable. To return the variable, use RETURN after the variable is defined.
  • COLUMN(<table>[<column>] = <expression>) Stores the result of an expression as a column in a table.
  • ORDER BY(<table>[<column>]) Defines the sort order of a column. Every column can be sorted in ascending (ASC) or descending (DESC) way.

DAX Operators

Comparison operatorsMeaning
=Equal to
= =Strict equal to 
>Great than
<Smaller than
> =Greater than or equal to
= <Smaller than or equal to
< >Not equal to 
Text operatorMeaningExample
&Concatenates text valuesConcatenates text values | [City]&", "&[State]
Logical operatorMeaningExample
&&AND condition([City] = "Bru") && ([Return] = "Yes"))
||OR condition([City] = "Bru") || ([Return] = "Yes"))
IN {} OR condition for each rowProduct[Color] IN {"Red", "Blue", "Gold"}



No comments:

Post a Comment

Powered by Blogger.

Chuyển khoản: Người nhận: Nguyen Huu Cuong Số tài khoản: 0541000172196 Ngân hàng: Vietcombank

List nội dung

CÁC KHÓA HỌC ONLINE FREE 0Đ

Featured

Labels

After Effects Amazon free ebooks Ảnh đẹp Cheat sheets Code lập trình Công Nghệ Thông Tin Danh ngôn cuộc sống Ebook miễn phí English Excel and VBA ebooks File mẫu Form mẫu Game Học kỹ năng online trên kênh Youtube Học tiếng Anh qua hình ảnh Học tin học online IoT skills Khóa học Etabs Khóa học Hacker Khóa học online phát triển kỹ năng miễn phí Khóa học Udemy miễn phí Kiếm hiệp - Tiên hiệp Kỹ năng giao tiếp Kỹ năng Slideshow Kỹ năng làm vợ Kỹ năng .Net Core Và React Kỹ năng .NET Full-Stack Kỹ năng 3DSMax Kỹ năng Access Kỹ năng Active Directory Automation Using Python Kỹ năng Add in Excel Kỹ năng Adobe Indesign CC Kỹ năng Adobe Lightroom Kỹ năng Adobe Muse Kỹ năng Adobe Photoshop CC Kỹ năng Adobe Premiere Kỹ năng Adobe xD Design Kỹ năng Advance Web Hacking Kỹ năng AFFILIATE MARKETING Kỹ năng AI Kỹ năng AI ChatGPT Kỹ năng AJAX Kỹ năng âm nhạc Kỹ năng ẩm thực Kỹ năng AngularJS Kỹ năng Angularjs Routing Kỹ năng ảnh Kỹ năng Animate Cc Kỹ năng ảo thuật Kỹ năng APK App Kỹ năng App.net Kỹ năng Aray Kỹ năng Arduino Kỹ năng ASP.NET Core MVC Kỹ năng ASP.NET MVC Kỹ năng AUDIOJUNGLE Kỹ năng AutoCAD Kỹ năng AWS Cloud Security Kỹ năng Azure Kỹ năng Backend Kỹ năng bán hàng Kỹ năng bán hàng qua điện thoại Kỹ năng bảo hiểm Kỹ năng bảo mật mạng Kỹ năng bất động sản Kỹ năng Beatboxer Kỹ năng biên tập Video Kỹ năng Big Data Kỹ năng Bigdata Kỹ năng BIM Kỹ năng Blender Kỹ năng Blogchain Kỹ năng Body Shape Editing Kỹ năng Bootstrap Kỹ năng C++ Kỹ năng cắm hoa Kỹ năng Camera Row Kỹ năng cấu trúc dữ liệu và giải thuật Kỹ năng CCIE Security Kỹ năng CCNA Kỹ năng CCNP TSHOOT Kỹ năng CCS Kỹ năng CEO Kỹ năng chăm sóc khách hàng Kỹ năng Chatbot Messenger Kỹ năng cho bà bầu Kỹ năng chữa cận thị Kỹ năng chữa ung thư Kỹ năng chứng khoán Kỹ năng Cinema 4D Kỹ năng Cisco CCNP Switch Kỹ năng Clickbank Kỹ năng Client Troubleshooting Tool Kỹ năng Code Web Kỹ năng CompTIA Security Kỹ năng công nghệ thông tin Kỹ năng công nghiệp 4.0 Kỹ năng công sở Kỹ năng công việc Kỹ năng CorelDraw Kỹ năng Cryptocurrency Kỹ năng CSDL Kỹ năng đàm phán thương lượng Kỹ năng đánh đàn Guita Kỹ năng đánh đàn Organ Kỹ năng đánh dàn Piano Kỹ năng Dart Kỹ năng Data Analysis Kỹ năng data Science Kỹ năng Data Visualization Kỹ năng đầu tư Kỹ năng dạy học cho con Kỹ năng Deel Learning Kỹ năng DEOVT Kỹ năng đi làm Kỹ năng điện Kỹ năng diễn họa Kỹ năng điện toán đám mây Kỹ năng điện tử cơ bản Kỹ năng Django Kỹ năng đồ án luận văn Kỹ năng đồ họa Kỹ năng đọc sách Kỹ năng đọc tiếng Anh Kỹ năng Docker Kỹ năng Dreamweaver Kỹ năng Drupal Kỹ năng du lịch Kỹ năng dược lý Kỹ năng Ecotec Kỹ năng Edumall miễn phí Kỹ năng ELEMENT 3D Kỹ năng email Kỹ năng Entity Framework Code First Kỹ năng Excel Kỹ năng Express Kỹ năng Fanpage Kỹ năng FEDU MIỄN PHÍ Kỹ năng File mẫu Kỹ năng Firebase Kỹ năng Foody Kỹ năng Formit 360 Kỹ năng Freelance Kỹ năng FRONT-END MASTER Kỹ năng Frontend Kỹ năng Full-Stack .NET Developer Kỹ năng game Mobile Kỹ năng gây ấn tượng Kỹ năng giải tỏa stress Kỹ năng giải trí Kỹ năng giảm cân Kỹ năng giáo dục sớm cho trẻ Kỹ năng giáo dục trẻ Kỹ năng giao tiếp Kỹ năng Git Kỹ năng GitHub Kỹ năng Golang Kỹ năng Google Analytics Kỹ năng Google Driver Kỹ năng Google Spreadsheet Kỹ năng GOOGLE WEBDESIGNER Kỹ năng Hacking Và Protecting Kỹ năng Hadoop Kỹ năng Hát Kỹ năng học tập Kỹ năng HTAccess Kỹ năng HTML Kỹ năng IELTS Kỹ năng Illustrator Kỹ năng IMOVIE Kỹ năng Infrawork 360 Kỹ năng Internet of Things Kỹ năng IoT Kỹ năng JAVA Kỹ năng Javascript Kỹ năng kế toán Kỹ năng khích lệ Kỹ năng khoa học tự nhiên Kỹ năng khóa học xem online Kỹ năng khởi nghiệp Kỹ năng kí ức tuổi thơ Kỹ năng kiểm soát cảm xúc Kỹ năng kiếm tiền online MMO Kỹ năng kiếm tiền số Kỹ năng kiếm tiền trên AMAZON Kỹ năng kiếm tiền với Facebook Kỹ năng kiếm tiền với Google Adsense Kỹ năng kinh doanh Kỹ năng kinh doanh online Ky năng kinh doanh trên Zalo Kỹ năng kinh tế quản lý Kỹ năng Kotlin Kỹ năng Kt.City Kỹ năng Kubenetes Kỹ năng kỹ xảo truyền thông Kỹ năng làm App điện thoại Kỹ năng làm bánh Kỹ năng làm cha mẹ Kỹ năng làm dâu Kỹ năng làm đẹp Kỹ năng làm giáo án Kỹ năng làm giàu Kỹ năng làm Logo Kỹ năng làm MC - Diễn giả Kỹ năng làm móng Nail Kỹ năng làm phim Kỹ năng làm phim hoạt hình Kỹ năng làm Sếp Kỹ năng làm tóc Kỹ năng làm việc Kỹ năng làm việc nhóm Kỹ năng làm Web Site Kỹ năng Landing Page Kỹ năng lãnh đạo Kỹ năng lập kế hoạch Kỹ năng lập trình Kỹ năng lập trình Android Kỹ năng lập trình C Kỹ năng lập trình C# Kỹ năng Lập Trình Frontend Kỹ năng lập trình Game Kỹ năng lập trình hướng đối tượng Typescript Kỹ năng lập trinh IOS Kỹ năng Lập Trình Php/MySQL-JQUERY Kỹ năng lập trình WEB Kỹ năng Lập Trình Webservice Cho Di Động Kỹ năng LARAVEL PHP FRAMEWORK Kỹ năng LARAVEL-PHP-FRAMEWORK Kỹ năng lịch sử Kỹ năng Lightroom Kỹ năng LinkQ Kỹ năng LINQ Kỹ năng Linux Kỹ năng Liquid Kỹ năng Liquify tool Kỹ năng Livetream Kỹ năng Logo Particular Kỹ năng Lumion 3D Kỹ năng Machine Learning Kỹ năng mạng Quốc tế CCNA Kỹ năng mang thai Kỹ năng Marketing Kỹ năng Matlab Kỹ năng máy tính Kỹ năng MAYA Kỹ năng MBTI Kỹ năng MCSE Kỹ năng mềm Kỹ năng MERN Fullstack Kỹ năng Microsoft Azure Administrator Kỹ năng Mind Map Kỹ năng MISA Kỹ năng mở quán Cafe KỸ năng Modern Angular Kỹ năng MongoDB Kỹ năng MOS Kỹ năng Motion Graphic Kỹ năng MySQL Kỹ năng nấu ăn Kỹ năng Naviswork Kỹ năng NEW HEADWAY Kỹ năng nghề nghiệp Kỹ năng nghe tiếng Anh Kỹ năng nghiệp vụ hành chính Kỹ năng ngoại ngữ Kỹ năng ngôn ngữ tư duy NLP Kỹ năng ngữ pháp tiếng Anh Kỹ năng nhạc điện tử Kỹ năng nhạc EDM Kỹ năng Nhật Bản Kỹ năng nhảy Zumba Kỹ năng nhiếp ảnh Kỹ năng NodeJS Kỹ năng nói tiếng Anh Kỹ năng nuôi dạy con cái Kỹ năng office Kỹ năng office ( tin học văn phòng ) Kỹ năng Office 365 Kỹ năng Open CV Kỹ năng Oracle DBA Kỹ năng Outlook Kỹ năng Pandas Kỹ năng Penetration Testing Kỹ năng pfSense Firewall Kỹ năng phản biện Kỹ năng phần mềm máy tính Kỹ năng phần mềm Web và Blog Kỹ năng Pháp Luật Kỹ năng phát âm Kỹ năng Phật giáo Kỹ năng phát triển bản thân Kỹ năng phong thủy kỹ năng phỏng vấn xin việc Kỹ năng Photoshop Kỹ năng PHP Full Stack Web Developer Kỹ năng PHP/Mysql Kỹ năng Polytechnic Kỹ năng Postman Kỹ năng Power BI Kỹ năng Powerpoint Kỹ năng Prezi Kỹ năng Project Kỹ năng Proshow Producer Kỹ năng Pupper Warp Kỹ năng Python Kỹ năng Python Và SQL Server Kỹ năng quản lý Kỹ năng quản lý dự án Kỹ năng quản trị dữ liệu Kỹ năng quản trị mạng Kỹ năng quảng cáo Kỹ năng quảng cáo bán hàng TikTok Kỹ năng quảng cáo Cốc Cốc Kỹ năng quảng cáo Facebook Kỹ năng quảng cáo Google Adword Kỹ năng quảng cáo Youtube Kỹ năng rao vặt Kỹ năng React & Redux Kỹ năng React Hooks Và GraphQL Kỹ năng React JS Kỹ năng React Native Kỹ năng React và GraphQL Kỹ năng Realtime Kỹ năng Resonsive Kỹ năng Rest Api Kỹ năng REVIT Kỹ năng Robot Structural Analysis Professional Kỹ năng Robotics Kỹ năng sách nói Kỹ năng sách nói mp3 Kỹ năng Sacla Kỹ năng SAP Kỹ năng SASS Kỹ năng Scratch Kỹ năng SELENIUM VÀ NODEJS Kỹ năng SEO Facebook Kỹ năng SEO Top Kỹ năng Server Core Kỹ năng Servlet – JSP Kỹ năng Single-Page Web App Kỹ năng sinh trắc vân tay Kỹ năng Sketchup Kỹ năng Smart Phone Kỹ năng sống Kỹ năng Spring Boot Kỹ năng SQL Kỹ năng startup Kỹ năng sư phạm Kỹ năng sửa chữa máy tính Kỹ năng sức khỏe Kỹ năng SWIFT Kỹ năng tài chính Kỹ năng tâm lý Kỹ năng tán gái Kỹ năng tạo động lực Kỹ năng Test Kỹ năng Testing (WEP/WPA/WPA2) Kỹ năng thành công Kỹ năng thành công; Kỹ năng học tập Kỹ năng The Complete Junior to Senior Web Developer Roadmap Kỹ năng thể dục thể thao Kỹ năng thi công Kỹ năng thị giác máy tính Kỹ năng thiền Kỹ năng thiết kế Kỹ năng thổi sáo trúc Kỹ năng thực hành Excel Kỹ năng thuê và cho thuê nhà Kỹ năng thương mại điện tử Kỹ năng thuyết phục Kỹ năng thuyết trình kỹ năng tiếng Anh Kỹ năng tiếng Anh cho người mới bắt đầu Kỹ năng tiếng Anh chuyên ngành IT Kỹ năng tiếng Đức Kỹ năng tiếng Hàn Quốc Kỹ năng tiếng Nhật Kỹ năng tiếng Trung Quốc Kỹ năng tiếp thị liên kết Kỹ năng TikTok Kỹ năng tổ chức sự kiện Kỹ năng TOEIC Kỹ năng tổng hợp Kỹ năng Trainer Kỹ năng trang điểm Kỹ năng tri thức tổng hợp Kỹ năng Trung Quốc Kỹ năng truyện tranh Kỹ năng tư duy Kỹ năng tự vệ Kỹ năng tuyển dụng nhân sự Kỹ năng Typescript Kỹ năng Ubuntu Kỹ năng ứng xử Kỹ năng UNICA MIỄN PHÍ Kỹ năng Unity3D Kỹ năng Unreal Enigne Kỹ năng UX Design Fundamentals Kỹ năng UX/UI Kỹ năng văn hóa Kỹ năng văn phòng Kỹ năng VBA Excel Kỹ năng vẽ Kỹ năng viết ebooks Kỹ năng viết kịch bản Kỹ năng viết tiếng Anh Kỹ năng Viral Video Kỹ năng VMware Kỹ năng VMware vSphere Kỹ năng vợ chồng Kỹ năng võ thuật Kỹ năng với TS Lê Thẩm Dương Kỹ năng Vray Kỹ năng VUEjs Kỹ năng WCO Kỹ năng Website Kỹ năng Window Server Kỹ năng Word Kỹ năng WordPress Kỹ năng xây dựng Kỹ năng xem phim online Kỹ năng xin việc - viết CV Kỹ năng Yoga Kỹ năng Youtube Kỹ năng Zalo Kỹ năngAdobe After Effects Kỹ nawngghi chép Kỹ thuật số lập trình IT Link học tiếng Anh Link sức khỏe Oracle Và PostgreSQL Sách Luật Sách tâm linh Sách triết học Sách trinh thám Sách văn học Sách võ hiệp Skills ebooks Tài khoản khóa học free Tài Liệu các Kỹ năng Thủ thuật phần mềm Thủ thuật Word và Powerpoint Tin học - Phần mềm Tóm tắt sách hay Truyện thiền thư giãn Truyện thư giãn ngủ ngon Udemy free torrent link Ứng dụng hay cho điện thoại Ứng dụng hay tích hợp trên Web Web App Ninja WebAPI và AngularJS Webapi Và Entity Framework Code First z

Contact Form

Name

Email *

Message *

Translate

Phổ Biến

Pages

📲 App Quản Trị Excel cho Iphone và Android

↓ Quay lại ban đầu

Popular Posts

Pages