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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors