Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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 😄
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
14 | |
9 | |
5 | |
5 | |
4 |