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
Anonymous
Not applicable

Get the value in Power Query from Slicer Selection

Hello All,

I am integrated on slicer to get the month's date.... its is dynamically to follow this link : https://www.powerquery.training/portfolio/dynamic-calendar-table/

I want to Slicer selected value parse to my power query link :
let
    StartDate="Selected Vaule from Slicer",

------So i can use this value to my query.--------
in
    StartDate

Please let me know if you guys have any solution about this senario...

Thanks in advance.

Pankil

1 ACCEPTED SOLUTION
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Based on what I know, we can't get the selected value from slicer in Query Editor. I suggest you can use parameter. Please use the slicer column to create a list in Query Editor, and add the parameter as start date as follows.

= List.Dates(Parameter1,100, #duration(1,0,0,0))


In Power BI desktop, please click the Edit Queries->Edit parameter, you will select different value in parameter list, the table start date will change after you click "Apply changes"

step1step1
step2step2
resultresult
Reference: POWER BI DESKTOP QUERY PARAMETERS, PART 1


Best Regards,
Angelia

View solution in original post

1 REPLY 1
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Based on what I know, we can't get the selected value from slicer in Query Editor. I suggest you can use parameter. Please use the slicer column to create a list in Query Editor, and add the parameter as start date as follows.

= List.Dates(Parameter1,100, #duration(1,0,0,0))


In Power BI desktop, please click the Edit Queries->Edit parameter, you will select different value in parameter list, the table start date will change after you click "Apply changes"

step1step1
step2step2
resultresult
Reference: POWER BI DESKTOP QUERY PARAMETERS, PART 1


Best Regards,
Angelia

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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