Interview Question - Power BI-Part1
Interview Question - Power BI-Part1
What is DAX?
Ans: To do basic calculation and data analysis on data in power pivot, we use Data Analysis
Expression (DAX). It is formula language used to compute calculated column and calculated field.
DAX works on column values.
DAX can not modify or insert data.
We can create calculated column and measures with DAX but we can not calculate rows
using DAX.
Sample DAX formula syntax:
For the measure named Total Sales, calculate (=) the SUM of values in the [SalesAmount] column in
the Sales table.
A- Measure Name
B- = – indicate beginning of formula
C- DAX Function
D- Parenthesis for Sum Function
E- Referenced Table
F- Referenced column name
Ans: Below are some of the most commonly used DAX function:
SUM, MIN, MAX, AVG, COUNTROWS, DISTINCTCOUNT
IF, AND, OR, SWITCH
ISBLANK, ISFILTERED, ISCROSSFILTERED
VALUES, ALL, FILTER, CALCULATE,
UNION, INTERSECT, EXCEPT, NATURALINNERJOIN,
NATURALLEFTEROUTERJOIN,
SUMMARIZECOLUMNS, ISEMPTY,
VAR (Variables)
GEOMEAN, MEDIAN, DATEDIFF
Home Import data from Query Editor into the New Query group
Use the Parameter group to create and manage parameters
Include a function to refresh the preview data for the
current table, or all tables, in the dataset
Manage columns, reduce rows, and sort groups
Add Column Use Add Custom Column to create a new column using a
DAX formula
Use Conditional Column to add a column based on the values
in another column
Use
the From Number group to apply statistical, standard, and
scientific functions to numerical columns
What is the difference between Calculated Columns, Calculated Tables, and Measures?
Calculated Columns Calculated Tables Measures
Is it possible to refresh Power BI Reports after they are published to the cloud?
Yes, it is possible. Gateways can be used to do so.
For SharePoint: Data Management Gateway
For Powerbi.com: Power BI Personal Gateway
What happens when you click on a single data point in one of the multiple visuals in a report?
When we do that, data gets selected and copied to the clipboard. Further, the copied data can be
pasted anywhere as per the requirement of the user.