Forum Discussion
Dax formula - dealing with zero amounts
- Anonymous8 years ago
Here it is...
PERFORMANCE WINS =IF( ISBLANK([SUM OF WINS]),0,[SUM OF WINS])/ IF( ISBLANK([SUM OF TARGET WINS]),0,[SUM OF TARGET WINS]) *100
I have replaced the blank by 0, however you can change with your desired value.
Thanks
Raj
Thanks guys, this helps a lot.
Would you be able to assist me inserting an ISBLANK in this formula below?
PERFORMANCE WINS = [SUM OF WINS]/[SUM OF TARGET WINS]*100
I think that if we manage to insert a ISBLANK on this formula above, then I would be able to get the other formula to work..
- Anonymous8 years agoNot applicable
Here it is...
PERFORMANCE WINS =IF( ISBLANK([SUM OF WINS]),0,[SUM OF WINS])/ IF( ISBLANK([SUM OF TARGET WINS]),0,[SUM OF TARGET WINS]) *100
I have replaced the blank by 0, however you can change with your desired value.
Thanks
Raj- RodrigoTXRA8 years ago
Helper I
Thanks Raj, I'm new to Power BI and you guys are legends