Forum Discussion
sdhn
Responsive Resident
4 years agoBlank repalce with 0 - measure
Hi All,
I have a measuer as:
Measure Deployed % = DIVIDE ('Table'[NAD],[TED])
For some stores I am gettig values "Blank". I want to replace Blank by 0.
NAD and TED are measure too:
NAD = SUM(Table[ Agents])
TED = SUM('Table'[ Total points])
Please advise. Thanks
sdhn , isblank should close after the first divide. Before ,0
4 Replies
- Whitewater100
Solution Sage
Hello:
You can just slightly modify your measure:
Measure Deployed % = DIVIDE ([NAD],[TED], 0)
Measure Deployed % = DIVIDE ([NAD],[TED], "-")
Measure Deployed % = IF(ISBLANK(DIVIDE ([NAD],[TED]), 0, DIVIDE ([NAD],[TED], 0)
I beleive you should be all set with the first one. You can put whatever you want at the end,"-") or ,"No Data")
- sdhn
Responsive Resident
OTHER TWO DO NOT CHANGE ANYTHING. THANKS
- amitchandak
Super User
sdhn , isblank should close after the first divide. Before ,0
- sdhn
Responsive Resident