Forum Discussion
Parameter issue
- 1 year ago
Hi brankocareer,
Thank you for reaching out to Microsoft Fabric Community.
The issue occurs because power bi numeric input slicer applies internal optimizations when handling large numeric ranges generated by GENERATESERIES. That is why there are unexpected rounding errors where even numbers display incorrectly.
- Use the dropdown slicer instead of numeric input slicer, this will pick the exact values instead of applying internal optimizations.
- Create a custom DAX table, this prevents the slicer optimizations that effect numeric input fields. Use the Value column in the slicer.
Ex: Budget Parameter Salaries Table = ADDCOLUMNS(GENERATESERIES(-1000, 1000, 1), "Value", [Value]) - Power BI slicers sometimes handle numbers as floating-point values internally, causing rounding errors. please use the following DAX command if required
Budget Parameter Salaries = INT(GENERATESERIES(-1000, 1000, 1))
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi brankocareer,
Thank you for reaching out to Microsoft Fabric Community.
The issue occurs because power bi numeric input slicer applies internal optimizations when handling large numeric ranges generated by GENERATESERIES. That is why there are unexpected rounding errors where even numbers display incorrectly.
- Use the dropdown slicer instead of numeric input slicer, this will pick the exact values instead of applying internal optimizations.
- Create a custom DAX table, this prevents the slicer optimizations that effect numeric input fields. Use the Value column in the slicer.
Ex: Budget Parameter Salaries Table = ADDCOLUMNS(GENERATESERIES(-1000, 1000, 1), "Value", [Value]) - Power BI slicers sometimes handle numbers as floating-point values internally, causing rounding errors. please use the following DAX command if required
Budget Parameter Salaries = INT(GENERATESERIES(-1000, 1000, 1))
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
- fabiofoliveira1 year agoRegular Visitor
Pensando na possibilidade de trabalhar com um parametro, com valor unico. Seria possível capturar o MINIMO e MAXIMO antes de executar a formula? O objetivo seria gerar a tabela com um intervalo controlado, gerada a partir do valor digitado pelo usuario:
valor = GENERATESERIES ( MINIMO-5, MAXIMO+5 , 0.01)
Ou até mesmo a utilização de um componente visual proprio para a digitação de numeros. Caso exista um componente, você poderia indicar?