Forum Discussion
Anonymous
9 years agoNot applicable
Handling infinity value
Hello, I am currently using a measure to calculate Sales Rate. The calculation is as follows FactTable[X]/FactTable[Y]. The X and Y come from different Fact tables. If Y is not present for the co...
- Anonymous9 years ago
Hi,
Thanks for the reply.
I got a solution online before I came across your post. Refer below for the solution.
IFERROR( [Mesaure 1]/[Mesaure 2], BLANK() )where Mesaure 1 is Sum(FactTable[x])and Mesaure 2 is Sum(FactTable[y])
Found it in this blog- https://sqldusty.com/
hugoberry
9 years agoResponsive Resident
If FactTable[Y] is zero just display blank for example:
Measure = IF(FactTable[Y]=0,BLANK(),FactTable[X]/FactTable[Y])
Anonymous
9 years agoNot applicable
Hi,
Thanks for the reply.
I got a solution online before I came across your post. Refer below for the solution.
IFERROR(
[Mesaure 1]/[Mesaure 2],
BLANK()
)where Mesaure 1 is Sum(FactTable[x])and Mesaure 2 is Sum(FactTable[y])
Found it in this blog- https://sqldusty.com/
- Anonymous7 years agoNot applicable
IF Error calculation does work, however it takes a load on the memory and fails with 'cannot load visual' error. Is there an alternative to avoid this issue?
- Red2173 years agoHelper III
Thanks, huge help !