Forum Discussion
Measure condition check not evaluating
Hello,
I have products and revenue info and I'm calculating few YTD measures. And also Revenue B I'm totalling everything as of selected date.
I created a another measure on top of these to check if for a given product IF(([CYTD Revenue] =0 and [Current Revenue B] = and [CYTD Revenue C] = 0 and [PY Revenue B] = 0), 0 ,1). But for some reason I get productid 26 even though the above condition evaluates to zero.
Tried using sumx, values(productid) but didnt work. Spent days to figure this out. Any help is appreciated.
Here is the report link -https://www.dropbox.com/s/cnyxfdoasrmgvc1/Zero%20condition%20check.pbix?dl=0
Anonymous Current Revenue B is not a zero value, it has decimal value, you need to round off to compare values, here is the image
3 Replies
- parry2kSuper User
Anonymous Current Revenue B is not a zero value, it has decimal value, you need to round off to compare values, here is the image
- AnonymousNot applicable
Thanks parry2k
How is that happening, when my base revenues columns are 2 digit decimal numbers?
- v-chuncz-msftCommunity Support