Forum Discussion
Slicer from what-if parameter "rounding"
Hi everyone,
I have created a what-if parameter and a slicer that's related with that parameter.
The code of the table that creates the parameter:
I think it's related to the amount of rows but i can't really know.
Regards,
Hey Anonymous ,
I guess you are using the "Single Value" slicer from the what if paramter:
There the amount of values is limited to 1002 values. You can see that when you take the performance analyzer and copy the DAX query for that visual:
The SAMPLE function is used to limit the amount to 1002 values.
The chosen values in your area are 19500 and then 20100 again.
To get all the values you want, you would have to change it to a list or dropdown.
If you change it to a between or less than/greater than slicer, every number between will be available as choice, like 20001 to 20099.
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic
2 Replies
- selimovd
Most Valuable Professional
Hey Anonymous ,
I guess you are using the "Single Value" slicer from the what if paramter:
There the amount of values is limited to 1002 values. You can see that when you take the performance analyzer and copy the DAX query for that visual:
The SAMPLE function is used to limit the amount to 1002 values.
The chosen values in your area are 19500 and then 20100 again.
To get all the values you want, you would have to change it to a list or dropdown.
If you change it to a between or less than/greater than slicer, every number between will be available as choice, like 20001 to 20099.
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic - amitchandak
Super User
Anonymous , This may be because of what if sampling
refer the idea -https://ideas.powerbi.com/ideas/idea/?ideaid=3cd3bbbc-7589-4696-b7f8-e0f1d08b3c42
You can simply create a series using generateseries and use that
example - https://community.powerbi.com/t5/Quick-Measures-Gallery/PMT-Monthly-EMI-Calculator/td-p/1232245