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
danielsouza
Helper III
Helper III

Best pratices for data modeling

I was wondering what is the best option when you load a table and build your model to use in PowerBi:

 

- To get the entire table you need;

Example:

 

Product | Value | Quantity sold | Total sales

      x        1,00             3                3,00

 

- Ignore some columns of the table you need, considering you can use measure to obtain the same values so you bring only few necessary columns;

 

Product | Value | Quantity sold

      x        1,00             3        

 

Use a measure to get the total sales.

 

- Use Stored procedure and SQL to bring everything you need (Power Query?);

 

SELECT Product=x, where value=1,00.... etc

 

I know calculated column is out of question, I'm not considering it.

 

Thanks

Daniel

2 ACCEPTED SOLUTIONS
v-chuncz-msft
Community Support
Community Support

@danielsouza,

 

You may take a look at https://www.sqlbi.com/articles/data-import-best-practices-in-power-bi/.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hardik
Continued Contributor
Continued Contributor
3 REPLIES 3
danielsouza
Helper III
Helper III

Thank you so much guys!

 

I conclude that the best way is to obtain the minimal data I need, and use maximum of PowerBI measures.

Hardik
Continued Contributor
Continued Contributor
v-chuncz-msft
Community Support
Community Support

@danielsouza,

 

You may take a look at https://www.sqlbi.com/articles/data-import-best-practices-in-power-bi/.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.