Forum Discussion

Jalal_1988's avatar
Jalal_1988
Brass Contributor
Apr 16, 2024
Solved

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
  • SergeiBaklan's avatar
    SergeiBaklan
    Apr 16, 2024

    Jalal_1988 

    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() )

Resources