Forum Discussion

MMJ369's avatar
MMJ369
Frequent Visitor
7 years ago
Solved

measure with data from 2 tables

I want to create a measure that uses a measure in table one divided by a value in a summarized table. I can show both values in a table vizualization but I can not get the measure to work.   2 Tab...
  • PattemManohar's avatar
    7 years ago

    MMJ369 Please try using "New Table" option

     

    DemandQuantityResult = ADDCOLUMNS(Demand
                                     ,"POQty",LOOKUPVALUE(Quantity[POQty],Quantity[item],Demand[item])
                                     ,"% Demand",ROUND((LOOKUPVALUE(Quantity[POQty],Quantity[item],Demand[item])/Demand[demand])*100,0))