Forum Discussion
Anonymous
4 years agoNot applicable
Incorrect calculation with blank sum
Hi, I have a measure to calculate the Volume Impact. But it is incorrect when the [Volume Sum] is blank. If the [Volume Sum] is blank, it should be set as 0. For example, Product A in 2020-10, the...
- 4 years ago
Hi,
Try these measures
Measure = ([Volume Sum]-[Volume last year])*[AUSP Last Year]Measure 2 = if(HASONEFILTER('Calendar'[YearMonth]),[Measure],sumx(summarize('Calendar','Calendar'[YearMonth],"ABCD",[Measure]),[ABCD]))The Grand total does not match but am unable to find out my mistake.
Hope this helps.
Anonymous
4 years agoNot applicable
Hi Ashish_Mathur , can you try this?
https://drive.google.com/file/d/170wVIOYk5pr4cQj3NYHnWp6_ouzK_Adn/view?usp=sharing
Ashish_Mathur
Super User
4 years agoHi,
Try these measures
Measure = ([Volume Sum]-[Volume last year])*[AUSP Last Year]Measure 2 = if(HASONEFILTER('Calendar'[YearMonth]),[Measure],sumx(summarize('Calendar','Calendar'[YearMonth],"ABCD",[Measure]),[ABCD]))
The Grand total does not match but am unable to find out my mistake.
Hope this helps.