Forum Discussion
Converting
- 3 years ago
Hi Anonymous ,
Could you please try below DAX expression as this will check if the KPI value is less than or equal to 0 then it will round it to 0%.
Rounding = if('KPI Percentage'[KPI %]<=0,0, if('KPI Percentage'[KPI %]>1, 1, if('KPI Percentage'[KPI %]<=1, 'KPI Percentage'[KPI %],0)))
Thanks!
Inogic Professional Services Division
Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!
Drop an email at [email protected]
Services: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/
Thank you!
But the condition KPI Infinity = should be 0% did not work. If I don't have data for 2024 (Infinity), then it should show 0. Now it is - 100% Can you help?
Hi Anonymous ,
Could you please try below DAX expression as this will check if the KPI value is less than or equal to 0 then it will round it to 0%.
Rounding = if('KPI Percentage'[KPI %]<=0,0, if('KPI Percentage'[KPI %]>1, 1, if('KPI Percentage'[KPI %]<=1, 'KPI Percentage'[KPI %],0)))
Thanks!
Inogic Professional Services Division
Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!
Drop an email at [email protected]
Services: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/