Forum Discussion
rishic
8 years agoFrequent Visitor
Nested Group by/Summarize with Divide
I have my base data something like this and finally would want to show a graph with sales_area and value highlighted in yellow. The values are QtyperHour=divide(sum(qty),sum(tothours)) I h...
- 8 years ago
Hi rishic,
Actually, you don't need the function "Summarize". Please try out the formula below.
Measure = DIVIDE ( SUM ( Table1[Pur_quantity] ), SUMX ( VALUES ( 'Table1'[Tot_Hours_Spent] ), [Tot_Hours_Spent] ) )Best Regards,
Dale
v-jiascu-msft
8 years agoMicrosoft Employee
Hi rishic,
Actually, you don't need the function "Summarize". Please try out the formula below.
Measure =
DIVIDE (
SUM ( Table1[Pur_quantity] ),
SUMX ( VALUES ( 'Table1'[Tot_Hours_Spent] ), [Tot_Hours_Spent] )
)
Best Regards,
Dale