0% found this document useful (0 votes)
4 views

Interview

The document outlines the processes for creating static and dynamic roles in Power BI, detailing the steps for each method and their requirements. It also discusses incremental refresh strategies, report optimization techniques, and various DAX functions, highlighting their differences and use cases. Key DAX concepts such as variables, context filters, and aggregate functions are explained to enhance understanding and performance in Power BI reporting.

Uploaded by

sumedtaremis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Interview

The document outlines the processes for creating static and dynamic roles in Power BI, detailing the steps for each method and their requirements. It also discusses incremental refresh strategies, report optimization techniques, and various DAX functions, highlighting their differences and use cases. Key DAX concepts such as variables, context filters, and aggregate functions are explained to enhance understanding and performance in Power BI reporting.

Uploaded by

sumedtaremis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

RLS

1) Static 2) Dynamic
In RLS we will be creating Role in PBI Desktop and assign role in PBI Service.
Static is simple to create and dynamic need some IT skills.
Static:
1) 1st we need to decide which column we will be filtering.
2) we will be creating role in PBI desktop under manage role option.
3) In PBI Service, we have security option to dataset.
4) Created role will be assigned with specific email ids in PBI Service.

Dynamic:
1) 1st we need to decide which column we will be filtering.
2) we must create a user table. then we need to upload it to our model.
3) we need to build relation with this table.
4) If we have Many to Many relations with fact and user table then we will be
creating bridge table.
5) we will be using Userprincipalname dax to create role in PBI Desktop.
6) In PBI Service, we have security option to dataset.
7) Created role will be assigned with specific email ids in PBI Service.

Incremental Refresh:
Instead of refreshing complete data we will be doing partition of the data and
we will be refreshing.
1) This is applied to fact table.
2) This is applied query folding data source.
3) Date/Time column should be.
Steps:
1) Create 2 parameters in PQ
a) RangeStart b) RangeEnd these are Case Sensitive.
2) Filter the datetime column with parameters which created.
3) In PP we need to apply the incremental refresh.
4) we can assign the rule for archiving of data and refreshing of data.

Report/Query Optimization
1) When we are connecting RDBMS data source then Avoid transformation in
PQ. Connect data with Native Query
2) Remove Unnecessary Interactions between Visuals.
3) Don’t use too many visuals: According to ‘Power BI Optimization Guide’
reports should have not more than 8 visuals and one table per page
4) Remove Unwanted columns and filter out Unwanted rows.
5) If your data source server is based in your company’s London office then it is
recommended you host your Power BI desktop file on same location.
6) Check Performance of Custom Visuals with performance Analyzer.
7) Have Star Schema.
8) Avoid Many to Many relations and replace it with bridge table.
9) Use DAX Variable for complex aggregation.
10) Use Power BI Certified Custom Visual.

DISTINCT() vs. VALUES():


When a column is passed as an argument,

DISTINCT() does not count BLANK() as a value whereas, VALUES() returns BLANK().
ALL vs. ALLSELECTED ALLEXCEPT DAX functions
here function looks like same but ALL function is going to return table
expression by ignoring context as well as external filters where as ALLSELECTED
will ignore only context filter.
Allexpect will filter will ignore the context and external filter other than the
specified column.

DAX Variable?
In DAX calculation, we can use variables to make the calculations easier to
understand.
When you are writing any complex or nested expression using DAX functions,
variables can help to break these complex calculations into smaller, more
useful sections.
There are main 4 reasons to use DAX variables.
1) Reduce Complexity
2) Easy to Debug
3) Improve Readability
4) Improve Performance

Difference between SUMMARIZE


and SUMMARIZECOLUMNS?
SUMMARIZE function has both the context filter and row. Whereas
SUMMARIZECOLUMNS has only filter context.

Difference between CALCULATETABLE and


CALCULATE.
CALCULATETABLE returns a table whereas CALCULATE returns a
single value like an integer or a string.
What does DATEDIFF function do?
This function gives a difference between 2 dates based on the specified Date
part.

Difference between RELATED and RELATEDTABLE


The RELATED function returns a column from another related table. It follows
many to one relationship. Without mentioning a relationship, it will not work.

The RELATEDTABLE returns a table of values. It considers an existing table as a


parameter. It follows one to many relationships.

Difference between ALL and REMOVEFILTER


REMOVEFILTER is a calculate modifier whereas ALL is going to return a table
expression.

What is the DATEPART function?


It returns date function as an integer. However, DATENAME function does the
same thing, except it returns the name of the part of the date

Difference between Sum & Sumx?


Both SUM and SUMX are Aggregate Functions where:

SUM works on a Single Column vs SUMX can take the Table as Input

SUMX has row-context whereas SUM doesn’t have

SUMX is an iterative Function whereas SUM is not.


Difference between Distinct() and Values() in
DAX?
The only difference between two functions is that with Distinct help you to
calculate the null values.

You might also like