Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a table called Revenue. It was generated from List.Numbers(Start, Count, Increment). The values are basically from 0 to 999.9 by 0.1. There is only one column called Series.
I have a table called Revenue. It was generated from List.Numbers(Start, Count, Increment). The values are basically from 0 to 999.9 by 0.1. There is only one column called Series.
I have an M Parameter bound to Series, call it Parameter_Revenue (Multi-select = No). The suggested values is "List of values" and Current Value is 3 in the Manage Parameters prompt.
I use this parameter in a SQL query.
let
Source = Sql.Database("Server_Name", "Database_Name", [Query="
SELECT [IND]
,[CAT]
,[INT]
FROM [Schema].[Table]
WHERE [IND] = "& Number.ToText(List.First({Parameter_Revenue})) &"
"])
in
Source
(Oversimplification of my needs/query.)
In Power BI, the column Series is in a Slicer visualization (old one, not "new") Style > Dropdown. If I select a value, say 1, Parameter_Revenue takes the value 1 and the SQL Query works as expected.
However, I need to present the Slicer as Style > "Greater than or equal to". So if I type 1 in the slicer, I want to take the min(Series) = 1 and pass that to the M Parameter. The reason I need this presentation is because I need a way for users to type an input.
I was able to bind the parameter to Series in the slicers as "Greater than or equal to", but it looks like that was an error/bug/not an intended feature.
Anyway, is there a way to pass the minimum from the slicer/table to the parameter for a SQL query?
If this cannot work, is there an alternative way to pass a value to my query? I cannot use the embedded Power App alternative because my IT admins will not provide permissions/licenses to our users once we publish the report to the app (premium capacity).
We prefer to avoid 3rd party apps/visualizations.
Hi @user01 ,
According to your description, you want to dynamically pass the data in the slicer as a parameter to the power query as a parameter to filter the data from the data source. In power bi, we are not able to pass the values in slicer to power query. Because slicer is for visualization control and does not involve the data from the data source, whereas power query is for cleansing the data from the data source, so there is no communication between the two.
If you want to achieve dynamic filtering of the data source, you can create a power query dynamic parameters to be used as filtering conditions.
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn
Change the Source of Power BI Datasets Dynamically Using Power Query Parameters - RADACAD
Chris Webb's BI Blog: Using Power BI Dynamic M Parameters In DAX Queries (crossjoin.co.uk)
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous I am familiar with the Dynamic M query parameters documentation (link #1). I used that in the first part of my example. It works, but it is not the solution I am seeking.
I don't really see how link #2 helps me.
For link #3, is Dax Query/Dax Query View only for testing? Can I implement the min(Series) in some way and pass it to the Dynamic M parameter?
My main question is still not answered. Is there a way to bind the minimum of column/slicer to a Dynamic M parameter when the slicer is Style > "Greater than or equal to"? For example, take the minimum of the filtered table and pass that value to the M parameter, OR pass the filtered table/list to the M parameter and then take list.first({list}) in the query?
It seems like the answer is no. Is that correct?