Forum Discussion
Define output with condition when same row name with different output
- 5 years ago
Got it , thank you very much for the explanation.
I tried to combine ur dax solution with my other calculation( daydiff_item) ..result was odd, can please help shed some light ?
Category_Product =
Var Daycheck = If(ISBLANK('Table1'[DayDiff_Item]),Blank() ,
if('Table1'[DayDiff_Item] <= 1 , "On Time" ,
If('Table1'[DayDiff_Item] >= 2 , " Late " ,
Check data
)))
Var Ontime2 = CALCULATE(countallrow, FILTER('Table1', Daycheck = "On Time"))
Return
if(ISBLANK('Table1'[DayDiff_Item]),Blank(),
If(ISNUMBER
(CALCULATE([CountROW_all_row],FILTER(VALUES('Table1'[Product ]),
CountROW_all_row= Ontime2))),"On Time","Late"))
the output : All status in "Late"
Hi,
I am not sure what you are trying to accomplish there. If you still need my help, share some data and explain the question in simple English rather than pasing your formula.
- Anonymous5 years agoNot applicable
Hi Ashish_Mathur ,
So sorry for that !
I found my mistake after some online research..
Thanks again for your help , learnt something new 🙂