Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
SUM({<Year={'$(vMaxPostingYear)'},DateNum={'<=$(vMaxPostingDate)'}>}[Sale Quantity])))
/
((SUM(TOTAL{<Year={'$(vMaxPostingYear)'},DateNum={'<=$(vMaxPostingDate)'}>}[Sale Quantity]))))
when I used it will total of all year ,but i need that sale should be divided by total of a particular month
Try this one:
SUM({<Year={'$(vMaxPostingYear)'},DateNum={'<=$(vMaxPostingDate)'}>}[Sale Quantity])))
/
((SUM(TOTAL<YourMonthName>{<Year={'$(vMaxPostingYear)'},DateNum={'<=$(vMaxPostingDate)'}>}[Sale Quantity]))))
Try this one:
SUM({<Year={'$(vMaxPostingYear)'},DateNum={'<=$(vMaxPostingDate)'}>}[Sale Quantity])))
/
((SUM(TOTAL<YourMonthName>{<Year={'$(vMaxPostingYear)'},DateNum={'<=$(vMaxPostingDate)'}>}[Sale Quantity]))))
excellent thanks:)