Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
admin_xlsior
Post Prodigy
Post Prodigy

Slicer in What-if parameter

Hi guys,

 

How is the setting of the slicers in What-if parameters ?

Because I have table that contain -1 to 1 and I want to have the same slicer, but what I got now is always two numeric input

 

This is from What-if feature:

admin_xlsior_0-1612333311206.png

 

And this is the one I created

admin_xlsior_1-1612333371527.png

 

 

 

 

8 REPLIES 8
amitchandak
Super User
Super User

@admin_xlsior , With a small down arrow , check what type of slicer it is. To me it seems a single value slicer.

 

Screenshot 2021-02-03 11.58.48.png

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

 

O yeah, it has addition option

admin_xlsior_0-1612333893449.png

But where does it come from ? Because I tried to copy this visual and change to my parameter table-field, and the option "Single value" is gone.

 

Thanks

@admin_xlsior , I doubt it was not there for decimal. But tried to add it for decimal and it worked. I am able to add a new decimal one with a single value

 

Create a new one and check

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yeah, I tried as well, by create new parameter, data type decimal from -1 to 1 increment 0.1. It works and has Single value option.

 

The only different is the field coming from GENERATESERIES function, while mine is a table field with type decimal number.

 

I still don;t why and how to obtain that. Meanwhile I'm using 'greater than' and for selected value measure using MIN().

 

But appreciate if there is an answer to my confusion.

 

Thanks

@admin_xlsior , I checked, this option manually generated series do not have an option

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

oo wow.. that is even worse 😅 

So its mean the option really only appear if using What-if procedural ?

 

Hi @admin_xlsior I found when I created a slicer and selected the parameter column from parameter table (which is generated by what-if parameter) and it also has the single value option.

hi @v-jingzhang ,

Yes, I know, but I need my table "not" from generated by what-if, since I'm using Direct Query

 

Thanks

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors