The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
In Power BI, I created a Parameter:
I then placed this variable in a slicer, which allows me to input numbers manually. However, an issue arises:
If I enter 1 and press Enter, it displays 1 correctly.
If I enter 2 and press Enter, it displays 1 instead.
The pattern is that odd numbers display correctly, while even numbers are shown as (even number - 1).
I am now change the Parameter to: Budget Parameter Salaries = GENERATESERIES(-100,100, 1). Problem solved, what does this mean?
But I want to keep the range from -1000 to 1000, even bigger, I’m not sure how to resolve this issue, please help me out.
Thank you!
Branko
Solved! Go to Solution.
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.
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.
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
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?
Is that the native regular slicer? I can't replicate
User | Count |
---|---|
5 | |
3 | |
3 | |
2 | |
1 |
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 |