The document provides an overview of the DAX language. It discusses that DAX is the programming language used in Power BI, Power Pivot, and Analysis Services for data modeling, reporting, and analytics. It describes the basic components of a DAX data model including tables, columns, relationships, measures, and hierarchies. It also covers DAX syntax, functions, operators, and how context and filter context work in DAX calculations and queries.
Power BI, SSAS Tabular, and Excel all use DAX. This presentation is meant to be used with a PBIX notebook found here: https://github.com/IkeEllis/democode/blob/master/IntroToDAX/Power%20BI%20Introduction%20to%20DAX.pbix
An introductory session to DAX and common analytic patterns that we've built and used in enterprise environments. This session was originally presented at SQL Saturday Silicon Valley 2016.
DAX and Power BI Training - 002 DAX Level 1 - 3Will Harvey
DAX Level 1 - 3: In this session we explain DAX and cover other foundational concepts in PowerPivot such as the Data Model, Measures and Calculated Columns as well as the important skill of understanding how filtering works in the Data Model.
Presentación realizada en el Capítulo de Usuarios de SQL Server en Puerto Rico (PRPASS) en el mes de Octubre del 2012.
Presented during the monthly sessions of Puerto Rico PASS Chapter (www.prpass.org) - October, 2012.
DAX and Power BI Training - 001 OverviewWill Harvey
Course & Power BI Overview: This is the first session in a course that primarily focuses on DAX and PowerPivot, but also teaches the surrounding tools such as Power Query, Power BI Desktop and PowerBI.com.
Power BI, SSAS Tabular, and Excel all use DAX. This presentation is meant to be used with a PBIX notebook found here: https://github.com/IkeEllis/democode/blob/master/IntroToDAX/Power%20BI%20Introduction%20to%20DAX.pbix
An introductory session to DAX and common analytic patterns that we've built and used in enterprise environments. This session was originally presented at SQL Saturday Silicon Valley 2016.
DAX and Power BI Training - 002 DAX Level 1 - 3Will Harvey
DAX Level 1 - 3: In this session we explain DAX and cover other foundational concepts in PowerPivot such as the Data Model, Measures and Calculated Columns as well as the important skill of understanding how filtering works in the Data Model.
Presentación realizada en el Capítulo de Usuarios de SQL Server en Puerto Rico (PRPASS) en el mes de Octubre del 2012.
Presented during the monthly sessions of Puerto Rico PASS Chapter (www.prpass.org) - October, 2012.
DAX and Power BI Training - 001 OverviewWill Harvey
Course & Power BI Overview: This is the first session in a course that primarily focuses on DAX and PowerPivot, but also teaches the surrounding tools such as Power Query, Power BI Desktop and PowerBI.com.
Power BI data modeling is the process of creating a relationship between common columns of multiple tables. If the column headings are the same across tables, then Power BI auto-detects the relationship between tables. Using these columns, we can merge the tables as well.
This presentation shows new features in SQL 2019, and a recap of features from SQL 2000 through 2017 as well. You would be wise to hear someone from Microsoft deliver this material.
BI: new of the buzz words that everyone is talking about but what is it? How can it be used to make a impact in my organization? How do I get started? This session was delivered for SharePoint Saturday Reston.
Tableau online training and tableau desktop , tableau admin
tableau certification, tableau interview questions, tableau training institutes in hyderabad, tableau training institutes in Bangalore
This presentation contains an introduction of tableau software and in a particular way in Connecting to data, Visual Analytics, Dashboard and stories, Calculations, Mapping and Tableau Online & Competitors.
How to Improve Data Analysis Through Visualization in TableauEdureka!
Data Visualization using Tableau will allow one to gain an edge over the other analysts and let you present the data in a much better and insightful manner. It would be easier for the learners to immediately implement it in their workplace and create a real-time dashboard for their management using one of the most sought-after tools.
Two of the tech industry’s essential front runners providing business intelligence solutions are Microsoft’s Power BI and Tableau. These leaders of data visualization help businesses narrow down and analyze their data with powerful built-in tools and clear visualizations. Each platform has distinctive strengths and weaknesses that should be considered before deciding on a business intelligence software.
Data Visualization Techniques in Power BIAngel Abundez
A progression from fundamental charts to more advanced ways to look at data. We end with Custom Visuals and R Visuals that extend this visualization platform.
What is Microsoft Power BI and what are its benefits. how we can Analyse data with the help of power BI. Power BI A Microsoft Business Intelligence and Data Analysis tool.
Power BI has become a product with a ton of exciting features. This presentation will give an overview of some of them, including Power BI Desktop, Power BI service, what’s new, integration with other services, Power BI premium, and administration.
DAX and Power BI Training - 004 Power QueryWill Harvey
I this session we are introducing Power Query for Excel, the data sources you can connect to, and the transformations you can apply. We also introduce more advanced topics of writing your own M functions.
Power BI data modeling is the process of creating a relationship between common columns of multiple tables. If the column headings are the same across tables, then Power BI auto-detects the relationship between tables. Using these columns, we can merge the tables as well.
This presentation shows new features in SQL 2019, and a recap of features from SQL 2000 through 2017 as well. You would be wise to hear someone from Microsoft deliver this material.
BI: new of the buzz words that everyone is talking about but what is it? How can it be used to make a impact in my organization? How do I get started? This session was delivered for SharePoint Saturday Reston.
Tableau online training and tableau desktop , tableau admin
tableau certification, tableau interview questions, tableau training institutes in hyderabad, tableau training institutes in Bangalore
This presentation contains an introduction of tableau software and in a particular way in Connecting to data, Visual Analytics, Dashboard and stories, Calculations, Mapping and Tableau Online & Competitors.
How to Improve Data Analysis Through Visualization in TableauEdureka!
Data Visualization using Tableau will allow one to gain an edge over the other analysts and let you present the data in a much better and insightful manner. It would be easier for the learners to immediately implement it in their workplace and create a real-time dashboard for their management using one of the most sought-after tools.
Two of the tech industry’s essential front runners providing business intelligence solutions are Microsoft’s Power BI and Tableau. These leaders of data visualization help businesses narrow down and analyze their data with powerful built-in tools and clear visualizations. Each platform has distinctive strengths and weaknesses that should be considered before deciding on a business intelligence software.
Data Visualization Techniques in Power BIAngel Abundez
A progression from fundamental charts to more advanced ways to look at data. We end with Custom Visuals and R Visuals that extend this visualization platform.
What is Microsoft Power BI and what are its benefits. how we can Analyse data with the help of power BI. Power BI A Microsoft Business Intelligence and Data Analysis tool.
Power BI has become a product with a ton of exciting features. This presentation will give an overview of some of them, including Power BI Desktop, Power BI service, what’s new, integration with other services, Power BI premium, and administration.
DAX and Power BI Training - 004 Power QueryWill Harvey
I this session we are introducing Power Query for Excel, the data sources you can connect to, and the transformations you can apply. We also introduce more advanced topics of writing your own M functions.
SQL stands for Structured Query Language
SQL lets you access and manipulate databases
SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987
Deals with CSV Files operations in Pandas like reading, writing, performing joins and other operations in python using dataframes and Series in Pandas.
▪ Developed a recursive-descent parser to generate an intermediate representation for subsequent optimizations in Java
▪ Implemented common subexpression elimination and copy propagation on control flow graph
▪ Deployed a code generator for the source language that yields optimized native programs
SQL is a language that provides an interface to a relational database system.
SQL is developed by IBM in 1970s and it is a defacto standard as well as ISO & ANSI standard
SQL also supports DML for insert, update & delete operations and DDL for creating and modifying tables and other database structures.
Automatic Task-based Code Generation for High Performance DSELJoel Falcou
Providing high level tools for parallel programming while sustaining a high level of performance has been a challenge that techniques like Domain Specific Embedded Languages try to solve. In previous works, we investigated the design of such a DSEL – NT2 – providing a Matlab -like syntax for parallel numerical computations inside a C++ library.
Main issues addressed here is how liimtaions of classical DSEL generation and multithreaded code generation can be overcome.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
4. Antonios Chatzipavlis
Data Solutions Consultant & Trainer
Since 1999
30+Years in a Field
20+
Experience with
60+
Certifications
SQLschool.gr
Founder
5. A community for Greek professionals who use the
Microsoft Data Platform
Connect / Explore / Learn
@antoniosch - @sqlschool
./sqlschoolgr - ./groups/sqlschool
yt/c/SqlschoolGr
SQLschool.gr Group
help@sqlschool.gr
Join us
Articles
SQL Saturday Nights
SQL Server in Greek
Webcasts
News
Resources
10. • DAX is the programming language of Microsoft Power BI,
Microsoft Analysis Services, and Microsoft Power Pivot for
Excel.
- Created in 2010, with the first release of PowerPivot for Microsoft Excel
2010
• DAX has been designed to enhance data modeling,
reporting, and analytics.
• DAX is described as a functional language
- Calculations primarily use functions to generate results.
• Unlike T-SQL, there is no concept of INSERT, UPDATE, or
DELETE for manipulating data in a data model.
What is DAX?
Data Analysis eXpressions
11. A data model is a collection of data,
calculations, and formatting rules that
combine to create an object that can be
used to explore, query, and better
understand an existing dataset.
What is a Data Model?
FACT
MEASURES
DIMENSION
DIMENSION
DIMENSIONDIMENSION
DIMENSION
12. Components of a DAX Data Model
Data Tables Columns Relationships Measures Hierarchies
14. • DAX formulas start with the equal
sign (=) followed by an expression
• Expressions can contain functions,
operators, constants, and references
to columns
• Measure names must be enclosed in
brackets
• Table names containing spaces must
be enclosed in single quotation
marks
• Column references
- 'table name'[column name]
- [column name]
DAX Syntax
CALCULATE [Total Sales] 'Channel'[ChannelName] “Store”
15. Comments in DAX
= 'Channel'[ChannelPrice] * 'Channel'[ChannelDisc] -– Single line comment
= 'Channel'[ChannelPrice] - 'Channel'[ChannelTax] // Single line comment
= IF ( 'Channel'[ChannelDisc] > 0 ,
/*
Multi-line
comment
*/
“Has discount”
)
16. DAX Data Types
DAX
Data Type
Power BI
Data Type
Analysis Services
Data Type
SQL Server
Data Type Stored as
Integer Whole Number Whole Number INT 64-bit integer
Decimal Decimal Number Decimal Number FLOAT 64-bit double floating
Currency Fixed Decimal Number Currency MONEY 64-bit integer / 10.000
DateTime DateTime, Date, Time Date DATETIME 64-bit double floating
Boolean True/False True/False BIT Boolean
String Text Text NVARCHAR(MAX) Unicode string
Variant - - -
Binary Binary Binary VARBINARY(MAX) Binary
17. DAX Operators
Operator Type Symbol Use Example
Parenthesis ( ) Precedence order and grouping of arguments (5+2)*3
Text concatenation & Concatenation of strings “Athens” & [Country]
Arithmetic
+ Addition 4+3
- Subtraction / Negation 5-3 / -3
* Multiplication 4*3
/ Division 4/2
^ Exponents 2^6
Comparison
= Equal to [Country] = “Greece”
<> Not equal to [Country] <> “Greece”
> Greater than [Amount] > 100
>= Greater than or equal to [Amount] >= 100
< Less than [Amount] < 100
<= Less than or equal to [Amount] <= 100
Logical
&& AND condition between two Boolean expressions [Country]=“Greece” && [Amount]>0
|| OR condition between two Boolean expressions [Country]=“Greece” || [Amount]>0
IN Inclusion of an element in a list [Country] IN {“Greece” , ”Cyprus”}
NOT Boolean negation NOT [Amount] > 100
18. • Variables are used to store results from DAX expressions.
• Variables can be used in any type of DAX calculation
including calculated columns, measures, and tables.
• Variables are not strictly typed and can represent any type
of object in DAX.
• Variables automatically assume the type of the object being
assigned.
• You must use a RETURN statement to close a layer of
variable scope.
• You can declare multiple variables within the same layer of
scope and you can use them with a single RETURN
statement.
• Nested variables can initialize a new layer of scope when
you use them anywhere within an expression, but all layers
of scope are ended when you use a RETURN statement.
DAX Variable
VAR varname = expression
RETURN expression
VAR myVar1 = 1
VAR myVar2 = myVar1 + 2
RETURN myVar2 * 2
Nested Measure =
VAR Level1a = 10
VAR Level1b =
VAR level2a = Level1a
VAR Leval2b = level2a * 3
RETURN Leval2b
RETURN Level1b
19. DAX Table constructors
Define anonymous tables directly in the code.
{ “Red”, “Blue”, “Green” }
Or
{ (“Red”), (“Blue”), (“Green”) }
Single Column
{
( 1,“Red” ),
( 2,“Blue” ),
( 3,“Green” )
}
Multi Column
21. Error Handling in DAX Expression
Conversion Errors
DAX automatically converts
values between strings and
numbers whenever the
operator requires it
Arithmetical
Operations Errors
DAX detects this errors and it
blocks any further
computation of the expression
and raises an error.
Empty or Missing
Values
DAX handles missing values,
blank values, or empty cells in
the same way, using the value
BLANK.
22. • BLANK value assigned to a column when
the data source contains a NULL value
• The BLANK value is automatically
converted in case it is compared with
other values
- In a numeric expression, a blank is automatically
converted into 0
- In a string expression, a blank is automatically
converted into an empty string
• ISBLANK() function checks whether a
value is blank and returns TRUE or FALSE
BLANK Function
BLANK is not the T-SQL NULL
Sample Result
BLANK()=0 TRUE
BLANK() =“” TRUE
BLANK()-10 -10
BLANK()+18 18
5 / BLANK() INFINITY
0 / BLANK() NaN
BLANK() * 8 Blank value
BLANK() / 8 Blank value
BLANK() || BLANK() FALSE
BLANK() && BLANK() FALSE
( BLANK() = BLANK() ) TRUE
( BLANK() = TRUE ) FALSE
( BLANK() = FALSE ) TRUE
23. IFERROR Function
Evaluates an expression and returns a specified value if the expression returns an error;
otherwise returns the value of the expression itself.
IFERROR ( <Value> , <ValueIfError> )
IFERROR ( A, B )
Equivalent of
IF ( ISERROR ( A ), B , A )
24. ISERROR Function
Checks whether a value is an error, and returns TRUE or FALSE.
IFERROR ( <Value> )
IF ( ISERROR ( A ), B , A )
Equivalent of
IFERROR ( A, B )
25. • Date and time functions
• Time-intelligence functions (DAX)
• Filter functions
• Information functions
• Logical functions
• Math and Trigonometry functions
• Other functions
• Parent and Child functions
• Statistical functions
• Text functions
DAX Functions
More than 200 functions in several categories
26. • DAX provides several functions
• Functions operate according to the filter context.
• Function with X suffix are suitable to aggregate the results of a more
complex expression
• Function with A suffix exist only for maintaining the Excel syntax
DAX Functions
How to use DAX Functions
<FunctionName> ( Table[Column] )
<FunctionNameX> ( Table, <expression )
<FunctionNameA> ( Table, <expression )
28. Cardinality Cross Filter Directions
• Many to One (*:1)
• One to One (1:1)
• One to Many (1:*)
• Single
• Both
Relationships in Data Model
The Cornerstone of context
Relationships exist to join tables together so that you can work with them
as if they were one
29. Calculated Columns Measures
Calculated columns defined within tables
in the data model by adding new columns.
The expression assigned to a calculated
column is evaluated for every row of the
table
A measure is a DAX expression that is
evaluated in a context made by a set of
rows of the data model.
Context Calculations
Sales[GrossMargin] =
Sales[SalesAmount] -
Sales[TotalProductCost]
Sales[Total Sales] =
SUM ( Sales[SalesAmount] )
30. Context is the layer of filtering that is
applied to calculations, often dynamically
to produce a result specific to every value
in a pivot table or visual, including row
and column totals.
Context
Row
Transition
Filter