Power BI Interview Questions with Answers Part-2 🔥
11. What are relationships in Power BI?
Relationships define how data tables are connected through common columns (keys), enabling you to combine and analyze related data effectively across tables.
12. What are the different types of relationships in Power BI?
⦁ One-to-many: One row in table A relates to multiple rows in table B.
⦁ One-to-one: One row in table A relates to exactly one row in table B.
⦁ Many-to-many: Multiple rows in one table relate to multiple rows in another, supported via bridge tables.
13. What is cardinality in Power BI?
Cardinality refers to the uniqueness of data values in a column that participates in a relationship, e.g., one-to-many cardinality means a unique key on one side and non-unique on the other.
14. What is cross-filter direction in Power BI?
It determines how filters flow between related tables:
⦁ Single: Filters flow in one direction.
⦁ Both: Filters flow both ways, enabling bi-directional filtering in reports.
15. How do you create calculated columns and measures?
Use DAX formulas in Power BI Desktop:
⦁ Calculated columns add extra columns at row level stored in the data model.
⦁ Measures are calculations performed dynamically on aggregated data during report interactions.
16. What is DAX?
DAX (Data Analysis Expressions) is a formula language tailored for Power BI for creating custom calculations like calculated columns, measures, filtering, and aggregations within the data model.
17. Explain the difference between calculated columns and measures.
⦁ Calculated columns compute values row by row when data is loaded and store them.
⦁ Measures compute results on-the-fly, aggregate data dynamically depending on the filter context.
18. List some common DAX functions.
Common functions include:
⦁ SUM(), AVERAGE(), COUNT(), RELATED(), CALCULATE(), FILTER(), IF(), ALL(), VALUES().
19. What is the CALCULATE function in DAX?
CALCULATE() modifies the filter context of a calculation, enabling complex conditional logic and dynamic aggregation based on filters.
20. How do you use variables in DAX?
Variables store intermediate values in a DAX formula for better readability and performance, declared using VAR and returned using RETURN.
11. What are relationships in Power BI?
Relationships define how data tables are connected through common columns (keys), enabling you to combine and analyze related data effectively across tables.
12. What are the different types of relationships in Power BI?
⦁ One-to-many: One row in table A relates to multiple rows in table B.
⦁ One-to-one: One row in table A relates to exactly one row in table B.
⦁ Many-to-many: Multiple rows in one table relate to multiple rows in another, supported via bridge tables.
13. What is cardinality in Power BI?
Cardinality refers to the uniqueness of data values in a column that participates in a relationship, e.g., one-to-many cardinality means a unique key on one side and non-unique on the other.
14. What is cross-filter direction in Power BI?
It determines how filters flow between related tables:
⦁ Single: Filters flow in one direction.
⦁ Both: Filters flow both ways, enabling bi-directional filtering in reports.
15. How do you create calculated columns and measures?
Use DAX formulas in Power BI Desktop:
⦁ Calculated columns add extra columns at row level stored in the data model.
⦁ Measures are calculations performed dynamically on aggregated data during report interactions.
16. What is DAX?
DAX (Data Analysis Expressions) is a formula language tailored for Power BI for creating custom calculations like calculated columns, measures, filtering, and aggregations within the data model.
17. Explain the difference between calculated columns and measures.
⦁ Calculated columns compute values row by row when data is loaded and store them.
⦁ Measures compute results on-the-fly, aggregate data dynamically depending on the filter context.
18. List some common DAX functions.
Common functions include:
⦁ SUM(), AVERAGE(), COUNT(), RELATED(), CALCULATE(), FILTER(), IF(), ALL(), VALUES().
19. What is the CALCULATE function in DAX?
CALCULATE() modifies the filter context of a calculation, enabling complex conditional logic and dynamic aggregation based on filters.
20. How do you use variables in DAX?
Variables store intermediate values in a DAX formula for better readability and performance, declared using VAR and returned using RETURN.
❤1
The Roadmap to Google/Amazon Interviews in 6-8 Months
Whether you're a student, career switcher, or self-learner, this plan is gold!
Step-by-step breakdown:
1 Learn to Code (C++, Java, or Python)
2 Master DSA First -Arrays,LinkedLists,Stacks, Queues
3 Give Contests - LeetCode & Codeforces to
improve speed
4 Revise Smart - Create your "100 Problem" revision sheet
5 Final Step - Resume, mock interviews & real applications
Bonus Tip:
Consistency > Talent Small daily actions = massive results over time.
Whether you're a student, career switcher, or self-learner, this plan is gold!
Step-by-step breakdown:
1 Learn to Code (C++, Java, or Python)
2 Master DSA First -Arrays,LinkedLists,Stacks, Queues
3 Give Contests - LeetCode & Codeforces to
improve speed
4 Revise Smart - Create your "100 Problem" revision sheet
5 Final Step - Resume, mock interviews & real applications
Bonus Tip:
Consistency > Talent Small daily actions = massive results over time.
❤2👏1
The Ultimate Java Interview Guide (136 Topics & 700+ Qs!)
Looking to ace your Java interviews? This comprehensive Java Interview Notes covers everything you need - from fundamentals to advanced concepts!
Key Highlights:
OOP, Collections, Generics
Multithreading & Concurrency
Memory Management & JVM
Modern Java (Lambdas, Streams)
Design Patterns & Best Practices
Perfect For:
Beginners learning Java
Intermediate devs leveling up
Experienced engineers prepping for
interviews
Found this amazing free resource and had to share! A goldmine for any Java developer.
Source : java_pdf
Looking to ace your Java interviews? This comprehensive Java Interview Notes covers everything you need - from fundamentals to advanced concepts!
Key Highlights:
OOP, Collections, Generics
Multithreading & Concurrency
Memory Management & JVM
Modern Java (Lambdas, Streams)
Design Patterns & Best Practices
Perfect For:
Beginners learning Java
Intermediate devs leveling up
Experienced engineers prepping for
interviews
Found this amazing free resource and had to share! A goldmine for any Java developer.
Source : java_pdf
❤2👏1
JavaScript Interview Questions and Answers
What is JavaScript?
JavaScript is a lightweight, interpreted programming language primarily used to create interactive and dynamic web pages. It's part of the core technologies of the web, along with HTML and CSS.
What are the data types in JavaScript? JavaScript has the following data types:
Primitive: String, Number, Boolean, Null, Undefined, Symbol, BigInt
Non-primitive: Object, Array, Function
What is the difference between null and undefined?
null is an assigned value representing no value.
undefined means a variable has been declared but not assigned a value.
Explain the concept of hoisting in JavaScript.
Hoisting is JavaScript's default behavior of moving declarations to the top of the scope before code execution. var declarations are hoisted and initialized as undefined; let and const are hoisted but not initialized.
What is a closure in JavaScript?
A closure is a function that retains access to its lexical scope, even when the function is executed outside of that scope.
What is the difference between “==” and “===” operators in JavaScript?
== checks for value equality (performs type coercion)
=== checks for value and type equality (strict equality.
Explain the concept of prototypal inheritance in JavaScript.
Objects in JavaScript can inherit properties from other objects using the prototype chain. Every object has an internal link to another object called its prototype.
What are the different ways to define a function in JavaScript?
Function declaration: function greet() {}
Function expression: const greet = function() {}
Arrow function: const greet = () => {}
How does event delegation work in JavaScript?
Event delegation uses event bubbling by attaching a single event listener to a parent element that handles events triggered by its children.
What is the purpose of the “this” keyword in JavaScript?
this refers to the object that is executing the current function. Its value depends on how the function is called.
What are the different ways to create objects in JavaScript?
Object literals: const obj = {}
Constructor functions
Object.create()
Classes
Explain the concept of callback functions in JavaScript.
A callback is a function passed as an argument to another function and executed after some operation is completed.
What is event bubbling and event capturing in JavaScript?
Bubbling: event goes from target to root.
Capturing: event goes from root to target. JavaScript uses bubbling by default.
What is the purpose of the “bind” method in JavaScript?
The bind() method creates a new function with a specified this context and optional arguments.
Explain the concept of AJAX in JavaScript.
AJAX (Asynchronous JavaScript and XML) allows web pages to be updated asynchronously by exchanging data with a server behind the scenes.
What is the “typeof” operator used for? The typeof operator returns a string indicating the type of a given operand.
How does JavaScript handle errors and exceptions?
Using try...catch...finally blocks. Errors can also be thrown manually using throw.
Explain the concept of event-driven programming in JavaScript. Event-driven programming is a paradigm where the flow is determined by events such as user actions, sensor outputs, or messages.
What is the purpose of the “async” and “await” keywords in JavaScript?
They simplify working with promises, allowing asynchronous code to be written like synchronous code.
What is the difference between a deep copy and a shallow copy in JavaScript?
Shallow copy copies top-level properties.
Deep copy duplicates all nested levels.
How does JavaScript handle memory management?
JavaScript uses garbage collection to manage memory. It frees memory that is no longer referenced.
Explain the concept of event loop in JavaScript.
The event loop handles asynchronous operations. It takes tasks from the queue and pushes them to the call stack when it is empty.
What is JavaScript?
JavaScript is a lightweight, interpreted programming language primarily used to create interactive and dynamic web pages. It's part of the core technologies of the web, along with HTML and CSS.
What are the data types in JavaScript? JavaScript has the following data types:
Primitive: String, Number, Boolean, Null, Undefined, Symbol, BigInt
Non-primitive: Object, Array, Function
What is the difference between null and undefined?
null is an assigned value representing no value.
undefined means a variable has been declared but not assigned a value.
Explain the concept of hoisting in JavaScript.
Hoisting is JavaScript's default behavior of moving declarations to the top of the scope before code execution. var declarations are hoisted and initialized as undefined; let and const are hoisted but not initialized.
What is a closure in JavaScript?
A closure is a function that retains access to its lexical scope, even when the function is executed outside of that scope.
What is the difference between “==” and “===” operators in JavaScript?
== checks for value equality (performs type coercion)
=== checks for value and type equality (strict equality.
Explain the concept of prototypal inheritance in JavaScript.
Objects in JavaScript can inherit properties from other objects using the prototype chain. Every object has an internal link to another object called its prototype.
What are the different ways to define a function in JavaScript?
Function declaration: function greet() {}
Function expression: const greet = function() {}
Arrow function: const greet = () => {}
How does event delegation work in JavaScript?
Event delegation uses event bubbling by attaching a single event listener to a parent element that handles events triggered by its children.
What is the purpose of the “this” keyword in JavaScript?
this refers to the object that is executing the current function. Its value depends on how the function is called.
What are the different ways to create objects in JavaScript?
Object literals: const obj = {}
Constructor functions
Object.create()
Classes
Explain the concept of callback functions in JavaScript.
A callback is a function passed as an argument to another function and executed after some operation is completed.
What is event bubbling and event capturing in JavaScript?
Bubbling: event goes from target to root.
Capturing: event goes from root to target. JavaScript uses bubbling by default.
What is the purpose of the “bind” method in JavaScript?
The bind() method creates a new function with a specified this context and optional arguments.
Explain the concept of AJAX in JavaScript.
AJAX (Asynchronous JavaScript and XML) allows web pages to be updated asynchronously by exchanging data with a server behind the scenes.
What is the “typeof” operator used for? The typeof operator returns a string indicating the type of a given operand.
How does JavaScript handle errors and exceptions?
Using try...catch...finally blocks. Errors can also be thrown manually using throw.
Explain the concept of event-driven programming in JavaScript. Event-driven programming is a paradigm where the flow is determined by events such as user actions, sensor outputs, or messages.
What is the purpose of the “async” and “await” keywords in JavaScript?
They simplify working with promises, allowing asynchronous code to be written like synchronous code.
What is the difference between a deep copy and a shallow copy in JavaScript?
Shallow copy copies top-level properties.
Deep copy duplicates all nested levels.
How does JavaScript handle memory management?
JavaScript uses garbage collection to manage memory. It frees memory that is no longer referenced.
Explain the concept of event loop in JavaScript.
The event loop handles asynchronous operations. It takes tasks from the queue and pushes them to the call stack when it is empty.
❤2
How to send a follow up email to a recruiter
(Tap to copy)
Dear [Recruiter’s Name],
I hope this email finds you doing well. I wanted to take a moment to express my sincere gratitude for the time and consideration you have given me throughout the recruitment process for the [position] role at [company].
I understand that you must be extremely busy and receive countless applications, so I wanted to reach out and follow up on the status of my application. If it’s not too much trouble, could you kindly provide me with any updates or feedback you may have?
I want to assure you that I remain genuinely interested in the opportunity to join the team at [company] and I would be honored to discuss my qualifications further. If there are any additional materials or information you require from me, please don’t hesitate to let me know.
Thank you for your time and consideration. I appreciate the effort you put into recruiting and look forward to hearing from you soon.
Warmest regards,
(Tap to copy)
❤3