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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to pass delimited input value which should be able to filter the report ?

Suppose We have 2*2 excel source like below. 

 

NameValue
A100
B200
C300
D400
E500
F600

 

I want to have a filter which takes delimited values like <<A,B>> and filter data on above dataset and gives me

 

NameValue
A100
B

200

 

6 REPLIES 6
V-lianl-msft
Community Support
Community Support

1) Add a parameter as text.

Vlianlmsft_0-1637046464700.png


2) Instruct users that they can enter multiple values by using "," as a separator and no spaces.
3) create a new query, using Text.Split(parameter_name, ",")
4) Filter the name column equals new query column.

 

 

let
    Source = Excel.Workbook(File.Contents("\\xxxxx\test_xls\test.xlsx"), null, true),
    Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],
    #"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true]),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"name", type text}, {"value", Int64.Type}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Text.Split(Parameter1,",")),
    #"Expanded Custom" = Table.ExpandListColumn(#"Added Custom", "Custom"),
    #"Filtered Rows" = Table.SelectRows(#"Expanded Custom", each ([name] = [Custom])),
    #"Removed Columns" = Table.RemoveColumns(#"Filtered Rows",{"Custom"})
in
    #"Removed Columns"

 

 

 

Vlianlmsft_1-1637046503533.pngVlianlmsft_2-1637046520832.png

 

Anonymous
Not applicable

Please Help,

How can I pass these parameter into publish dashboard in Power BI

Anonymous
Not applicable

I am trying to find that manage parameter text field in power BI desktop application version 2.99.621.0 but did not able to locate can you please help me on it

Anonymous
Not applicable

The problem is in multi select slicer, if I have to select more than 10 options, it would become difficult.. I basically intent to filter a phone number based report where I want to filter things for more than 100 numbers at once. And hence ask for delimted input variable.

Anonymous
Not applicable

Is there some hope on this one ?The problem is in multi select slicer, if I have to select more than 10 options, it would become difficult.. I basically intent to filter a phone number based report where I want to filter things for more than 100 numbers at once. And hence ask for delimted input variable.

amitchandak
Super User
Super User

@Anonymous , I doubt an option like that. Because you have split values and create an in clause that is not going to easily in DAX. Better to use multi-select slicer

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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