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
GARMAS97
Regular Visitor

DATA MODEL - ENTERING DATA MANUALLY

Hi guys!

 

I have a concern with the data that I've entered to my BI dashboard. First of all, all the sales from every supplier are on the software already, also, i've entered the data manually by creating a table on the software itself, everything went ok when i added the first row with the name of the supplier (column 1) and the percentage (column 2)  that i will use afterwards to calculate (f.e = sales * percentage).

 

Everything went ok with the first supplier added manually, but, after adding two or more suppliers with their percentages, the calculation of each suppliers changes a lot, giving me wrong numbers.

 

I am new with the software, do you guys have any tips?

 

Thanks!

 

6 REPLIES 6
v-yiruan-msft
Community Support
Community Support

Hi @GARMAS97,

Could you please provide some sample data(exclude sensitive data) and your expected result? Also please provide the formulas which you are using in column2. Thank you.

 

Best Regards

Rena

 

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

If they are in same table you can use

column = [sales]* [percent]

measure = sumx(Table,Table[sales]* Table[percent])

 

Measure in same table

measure = sumx(Table,Table[sales]* Table[percent])

Measure across tableyou need common context refer : https://community.powerbi.com/t5/Community-Blog/Decoding-Direct-Query-in-Power-BI-Part-2-Date-Differ...

 

 

 

MFelix
Super User
Super User

Hi @GARMAS97 ,

 

How are you calculating the Sales * Percentage is it a measures? a calculated column? Having only one row of data will work always correctly even if you make you calculations in the wrong format.

 

Please see this post regarding How to Get Your Question Answered Quickly (courtesy of @Greg_Deckler ) and How to provide sample data in the Power BI Forum (courtesy of @ImkeF ).

 

Can you share some sample data please and expected result?

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi,

 

It is a measure

 

Hi @GARMAS97 ,

 

Can you please more insight?

 

How is the measure? how is you data model setup? wich tables you have?

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.