Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi,
I have a growth calulated measure but the values are coming as nan and Infinity
below is the sample data
The dax to calulate is
Solved! Go to Solution.
Hi @Anonymous
You are getting NAN and Infinity because you are dividing 0 by 0 and 747 by blank ( where blanks it considers as zero)..
You will have to change your formula.
or you can try creating 2 quick measures.
- 1st measure for subtraction SUM and Gross Revenue
- 2nd to divide the above measure with Gross Revenue.
Add in table to get somehting like this.
Let me know if this helps .
Thanks,
Tejaswi
use the DIVIDE function instead of "/"
This should be the solution!
Hi @Anonymous
You are getting NAN and Infinity because you are dividing 0 by 0 and 747 by blank ( where blanks it considers as zero)..
You will have to change your formula.
or you can try creating 2 quick measures.
- 1st measure for subtraction SUM and Gross Revenue
- 2nd to divide the above measure with Gross Revenue.
Add in table to get somehting like this.
Let me know if this helps .
Thanks,
Tejaswi
It worked with the Divide. Thanks
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
112 | |
105 | |
95 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |