Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have the table which has a column pricedate in it, and another table which has calendar date in it. I have to calculate the average price of the maximum pricedate and populate across other dates.
daxused =
what is expected is
thanks for your help!
Solved! Go to Solution.
Hi @adharsr ,
You can update the formula of measure [daxused] as below and check if it can return the correct result...
daxused =
VAR folderdate =
CALCULATE ( MAX ( 'Append'[pricedate] ), ALLSELECTED ( 'Append' ) )
RETURN
IF (
SELECTEDVALUE ( 'calenderDate'[Date] ) IN VALUES ( 'Append'[pricedate] ),
CALCULATE (
MAX ( 'Append'[price] ),
FILTER ( ALLSELECTED ( 'Append' ), 'Append'[pricedate] = folderdate )
)
)
Best Regards
Hi @adharsr ,
You can update the formula of measure [daxused] as below and check if it can return the correct result...
daxused =
VAR folderdate =
CALCULATE ( MAX ( 'Append'[pricedate] ), ALLSELECTED ( 'Append' ) )
RETURN
IF (
SELECTEDVALUE ( 'calenderDate'[Date] ) IN VALUES ( 'Append'[pricedate] ),
CALCULATE (
MAX ( 'Append'[price] ),
FILTER ( ALLSELECTED ( 'Append' ), 'Append'[pricedate] = folderdate )
)
)
Best Regards
Thank you so much my problem is solved, heartful thanks to you 😄