Forum Discussion
simple 0 if blank
- 6 years ago
adavid999 , try like
divide([2020 total positive] , [total 2020],0)
You do not need *100, you can mark it as % column in format session.
You can add +0, but that will create a left join. All data will be displayed
Hi adavid999 ,
Create these measures
Measure = DIVIDE ([2020 total positive] /( [total 2020] * 100))
- adavid9996 years ago
Helper V
thanks Anonymous the coalesce function looks like it would work but i don't appear to have it in excel power pivot
- Anonymous6 years agoNot applicable
Hi adavid999 ,
Create a custom Column in Power Query
= if [2020 total positive] = null then 0 else [2020 total positive] / ([total 2020] * 100)
or
= if [2020 total positive] = blank then 0 else [2020 total positive] / ([total 2020] * 100)
Regards,
Harsh NathaniAppreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!