Forum Discussion
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
- MFelix
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?
- amitchandak
Super User
If they are in same table you can use
column = [sales]* [percent]
measure = sumx(Table,Table[sales]* Table[percent])
- amitchandak
Super User
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-Difference-Across/ba-p/934397#M451
- AnonymousNot applicable
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