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.
I have the following table:
Where $ Amount, net wt, are measures. (both are basically Amount USD and Net Weight, but with a RELATEDTABLE() filter)
CostPerLb = [$Amount]/[net wt]
I want the value 0.1458 to repeat for each row in the avg CostPerLb (for example).
My end goal with this is that: I can multiply the average (0.1458) to Net Weights that have no Amount associated with them to get a amount value for all the shipments in the table.
Solved! Go to Solution.
Hi,
Your measur of avg CosrPerLb should be something like this
=IF(ISBLANK([$Amount]),CALCULATE([CostPerLb],ALL(Data[BillofLad]),ALL(Data[Shipment])),[your existing measure of avg CosrPerLb])
Does this work?
Hi,
Your measur of avg CosrPerLb should be something like this
=IF(ISBLANK([$Amount]),CALCULATE([CostPerLb],ALL(Data[BillofLad]),ALL(Data[Shipment])),[your existing measure of avg CosrPerLb])
Does this work?
Hi @samflynn,
Believe that you want to have the total value for all the table just change you measure to:
CostPerLb =CALCULATE([$Amount]/[net wt]; ALL(Table[Colum]))
This will give you the same result for all rows.
However the way you set up your question is not perceivable what you want please check https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490 in order to get a better answer ( @Greg_Deckler post a great datanaut).
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |