Forum Discussion
Avivek
Post Partisan
4 years agoNeed help with the dax
I need help with a dax, the dax at present is
YOY Sales Growth details % = if([To Year Sales]>0,DIVIDE([To Year Sales]-[Sales Amount],[Sales Amount])*100)
If, from YTD is blank % should show as +100 and if To YTD is blank then it should show as % column should show as -100. Can someone please help me with this dax
IF(isblank(from Ytd),"100"%, if(isblank(to ytd),"-100",DIVIDE([To Year Sales]-[Sales Amount],[Sales Amount])*100)
Try this!
3 Replies
- VijayP
Community Champion
IF(isblank(from Ytd),"100"%, if(isblank(to ytd),"-100",DIVIDE([To Year Sales]-[Sales Amount],[Sales Amount])*100)
Try this!