Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, I am looking for help with the following problem.
Here is a very simplified and redacted version of my data set.
I am trying to multiply values from the quantity sold column by the travel days column using a measure. I have tried =SUM(product info[TRAVEL.DAYS])*SUM(quantity sold[QUANTITY.SOLD]) however it does not seem to produce accurate data.
Please can someone help?
HI @KateWoodTM,
This scenario should more relate to your relationship design, you can take a look at the following links to know more about relationship directions and power bi aggregate:
What is the Direction of Relationship in Power BI?
Use aggregations in Power BI Desktop
Regards,
Xiaoxin Sheng
Do you want a calculation per row? if so you need both a measure and a new column in your quantity sold table.
The value you get when you multiply the sum's is the total days X total sold which is a single very large number. But you just simply use it as the data source to a new column and you get the info you want per line item.
I used very simple data but it looks like this:
my total multiplied is the same as your sum formula but gives me 72K (780x93) but I am guessing you want it by row so you can see product 1 ran for 31 days and sold 5 - multiplied together gives you 155?
Or were you wanting some other result like days per unit sold etc?
User | Count |
---|---|
101 | |
90 | |
80 | |
71 | |
70 |
User | Count |
---|---|
114 | |
98 | |
97 | |
73 | |
72 |