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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
lg1551
Resolver II
Resolver II

Need Table Values From Column to Change Based on Start and End Dates Coming from Date Table Slicer

I've searched the forum and not finding exactly what I'm looking for.

 

I have a Pricing table that has start and end dates for item prices, which change over time.

I also have a date table.

I need the price to update in the matrix visual I have based on the start and end dates in the date slicer (which is using the Date table).

If the user overlaps the start and end dates for the items in the slider, I just want to get an average of the price that falls for the items within the date range selected.

 

I've done SELECTEDVALUE(MAX and SELECTEDVALUE(MIN approaches but can't seem to get it right.

 

The Pricing table has 2 indirect relationships with the Date table for the Start Date column and the End Date column. PBI will only allow me to make one of these active otherwise there are conflicts. I thought leaving both inactive and doing a USERELATIONSHIP function in my measure would solve the problem but I still can't get the logic to work out as needed.

 

Any suggestions would be helpful.

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @lg1551 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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