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 MFelix , thank you for the modified measures. After applying the suggested measures, the value doesn't seem correct too. [Volume Impact] for product A supposed to have same value as [Revenue YoY].
MFelix
Super User
4 years agoDid you do + 0 or =0
- Anonymous4 years agoNot applicable
Hi MFelix , yes, I have modified the measures based on your suggestion. I am not sure which part is incorrect, would you mind to take a look at it? Here is the pbix file.
- Ashish_Mathur4 years ago
Super User
Access Denied message.
- Anonymous4 years agoNot applicable
Hi Ashish_Mathur , can you try this?
https://drive.google.com/file/d/170wVIOYk5pr4cQj3NYHnWp6_ouzK_Adn/view?usp=sharing