Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Power Bi - Inefficient Backend Development ?

Hello, I have this question:

 

Lets assume that a Power Bi dashboard developer has at his/her disposal a backend database developer to create any backend solutions they might need.

 

If that was the case, you will never have to face situations where you need to create lenghty DAX scripts and join too many different tables or views within the Power Bi dashboard to solve the challenges presented by the databases, because any challenges you face can actually be solved with the backend databases.

 

Would you agree with the above statement ?

 

 

2 REPLIES 2
m3tr01d
Continued Contributor
Continued Contributor

Hi @Anonymous 

I agree with @Daryl-Lynch-Bzy. He already said a lot of interesting things. I want to give you an example

Let say that you sell boats and you have access to all boats sold by the competition. You will be interested to look at what is your Market Share in the Industry.

Market share, being defined as a SUM over a SUM will be difficult to store it inside your database. You can store it but it will for a specific granularity and set in stone. Market share is a non-additive KPI in this case.

What if you want to look at the market share in all these contexts?
- By Product?
- By Year? Last Year, Last 3 months, Last 4 weeks
- By Segment of the industry?

Using Power BI, you'll definie only Once the KPI as a Measure and you'll be able to build different visuals and easily change the context by Drag and drop fields from your dimensions.

You build one Dataset with a lot of KPIs with predefined business rules that you document then you share the dataset to others where they can build different reports always using the same business rules and logic.

Hope it helps!

Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @Anonymous - yes and no.  Data should be transformed "as far upstream as possible and as far downstream as necessary" (Roche's Maxim).  But the key here is "transformations".  This should not include "Data Analysis".  Power BI using DAX provides a better experience for Data Analysis.  To understand this you need to see the SQL Queries that are dynamically created by the DAX engine to extract data from Star Schema.  By simple drag and drop, slicer selections, Power BI uses DAX to generate thousands of lines of SQL.  So when someone say an SQL developer can solve the business requirement, I laugh.  Too many times, I have seen SQL Developer who does not understand DAX hard-coding TOPN, PIVOT, UNPIVOT, CASE WHEN AGGREGATIONS and JOINS when SSAS Tabular, Power BI and DAX would have more flexibility.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.