Forum Discussion
Jalal_1988
Apr 16, 2024Brass Contributor
DONT SHOW #NUM! in percent profit
Dear friend I have problem, how I can filter in my formula to don't show #NUM! Of percent profit in pivot table by formula thank you
- Apr 16, 2024
Instead of [A]/[B] it's always recommended to use DIVIDE in DAX with third parameter. In you case it could be
% PROFIT:=DIVIDE( [TOTAL PROFIT], [TOTAL COST], blank() )
Jalal_1988
Apr 16, 2024Brass Contributor
yes, but i wan doing it by formula in data model 'DAX'
SergeiBaklan
Apr 16, 2024Diamond Contributor
Instead of [A]/[B] it's always recommended to use DIVIDE in DAX with third parameter. In you case it could be
% PROFIT:=DIVIDE( [TOTAL PROFIT], [TOTAL COST], blank() )