Forum Discussion
ph
Helper I
7 years agoDAX - get value from measure
Hi all, I am beginner and I was wondering if somebody can help me with following problem I have measure (Amount) that is for each date different, and I want get actual value for today.. logical...
- 7 years ago
Sure. Since you already have a measure for [Amount], you can just calculate it with a new context.
AmountToday = CALCULATE( [Amount], Table[Date] = TODAY())
If this doesn't work, can you share your current code for [Amount]?
Cmcmahan
Resident Rockstar
7 years agoSure. Since you already have a measure for [Amount], you can just calculate it with a new context.
AmountToday = CALCULATE( [Amount], Table[Date] = TODAY())
If this doesn't work, can you share your current code for [Amount]?