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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
sboivin2
Regular Visitor

Can I dynamically refresh a table from a value that the user has chosen on a slicer?

I have a slicer where I want the user to chose a value (Ex: 2025 Fall) and I have a reference table that should return then a date value (Ex: 2025-09-01) that I want to pass in a query in a temporal table (Ex: select * from table  for system_time as of '2025-09-01').

Is that possible?

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

 

Your source table (the one feeding the slicer) should be in import mode.

The data table must be in Direct Query mode.

View solution in original post

nathancwatkins
Regular Visitor

Yes, you just need to use a cube formula to pick up the value that is selected from the slicer. Use that value as a variable by using "Get Data" from worksheet.

 

--Nate

View solution in original post

5 REPLIES 5
v-ssriganesh
Community Support
Community Support

Hi @sboivin2,

I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.

v-ssriganesh
Community Support
Community Support

Hi @sboivin2,

May I ask if you have resolved this issue? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

v-ssriganesh
Community Support
Community Support

Hi @sboivin2,

Could you please confirm if your query have been resolved the solution provided by @lbendlin & @nathancwatkins ? If they have, kindly mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.

Thank you

nathancwatkins
Regular Visitor

Yes, you just need to use a cube formula to pick up the value that is selected from the slicer. Use that value as a variable by using "Get Data" from worksheet.

 

--Nate

lbendlin
Super User
Super User

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

 

Your source table (the one feeding the slicer) should be in import mode.

The data table must be in Direct Query mode.

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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