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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
kleetus51
Frequent Visitor

Help on 2 custom columns

I'm building a price forecast model that will take historical pricing within a certain date range and purchasing recency. I've created a dates table and am using a slider to give me min/max dates, as well as a parameter based slider to define the recency curoff. Now I'm trying to tie those back to the price history table to determine whether each record is within threshold. Unfortunately my formulas aren't working, because I'm getting a True result regardless. Here are the two formulas and a screenshot. I would expect the values for the highlighted rows to be false. 

 

Within Date = 'Price History'[Date] >= MIN(Dates[Date])
Within Recency = 'Price History'[Recency] <= [Recency Cutoff]


kleetus51_0-1686074019918.png

 

1 REPLY 1
amitchandak
Super User
Super User

@kleetus51 , calculated column are static mean Min(Date[DAte]) will min date from table and there will no impact of slicer of join.

 

you have consider Measure

or when moving column cross table refer

 

refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors