Forum Discussion
sebasjuniper1
7 years agoRegular Visitor
Calculate field compared
Hello
I have this data
The field items is Sum(Items)
I need to create a new CalcFormula to get the specific vale with the compared Day. In the yello sample 10853 is the item withe te filter Day = DayComapred
Have you got any idea?
Thanks
Hi sebasjuniper1 ,
You can create a measure similar to:
Items Compared = CALCULATE ( SUM ( Table[Items] ), FILTER ( ALL ( Table ), Table[Day] = SELECTEDVALUE ( Table[Day Compared] ) ) )
Best regards,Yuliana Gu
2 Replies
- v-yulgu-msftMicrosoft Employee
Hi sebasjuniper1 ,
You can create a measure similar to:
Items Compared = CALCULATE ( SUM ( Table[Items] ), FILTER ( ALL ( Table ), Table[Day] = SELECTEDVALUE ( Table[Day Compared] ) ) )
Best regards,Yuliana Gu
- sebasjuniper1Regular Visitor