Forum Discussion
Summarize columnds under specific terms
Hi, guys!
Please, need your help
When I choose date by the month in the filter filed it shows "correct" unit cost. But when I want accumulate data for several months it just summarize unit cost. For example, I want to see unit cost for 3 months ( 1 quarter) instead of showing unit cost for 3 months (Sum of costs for 3 months/ Production of item for 3 months) it return the sum of unit cost (as it shown below in the graph). What dax formula should I use to make it correct? Thanks
"Сумма" = SUM
"Производство" =Production
"УдСебГаз" = Unit cost (SUM/Production)
2 Replies
- amitchandak
Super User
DauletKali , Not very clear. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Typically unit cost is
Measure unit cost divide(Sum(Table[Value]),sum(Table[Qty]))
- DauletKali
Helper I
"Measure unit cost divide(Sum(Table[Value]),sum(Table[Qty]))"
This measure does not work in this case