The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I have this data:
This is a Matrix. So in the rows I have 2 dim tables (suppliers and products), then I have Stock for each product with the total of the supplier.
Then I have the % of each product regarding the total stock.
Then I have a measure with a divide of total sales and total stocks. (like an average)
And in the last measure (the one that I want to resolve) is this:
Solved! Go to Solution.
@MarceloDF , what is a column in visual? If that supplier the above should work. If that product then you should use the product
Cow price of 1kg =
SUMX (
VALUES ( dimProduct[Product]),
[Average Measure] * [Percentage]
)
@amitchandak the columns are empty in the visuals but changing the measure from Suppliers to Products it works!
Thank you very much!
@MarceloDF , what is a column in visual? If that supplier the above should work. If that product then you should use the product
Cow price of 1kg =
SUMX (
VALUES ( dimProduct[Product]),
[Average Measure] * [Percentage]
)
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
28 | |
13 | |
12 | |
12 | |
6 |