Forum Discussion
jenani_user
3 years agoFrequent Visitor
Total amount based on team and overall
Hi Team, I have 3 fields Team,Name,Amount , need to calculate amount based on team and overall as showed in result1 result2 column Thanks Jen
- 3 years ago
jenani_user Maybe:
result1 measure = VAR __team = MAX('Table'[team]) VAR __table = FILTER(ALL('Table'),[team] = __team) VAR __result = SUMX(__table,[amount]) RETURN __result result2 measure = SUMX(ALL('Table'),[amount])
Greg_Deckler
Community Champion
3 years agojenani_user I don't see dates anywhere, but here is some of the basics of date intelligence.
You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008
jenani_user
3 years agoFrequent Visitor
Hi Team,
I have 4 fields Team,Name,Amount ,Date, need to calculate amount based on team and overall as showed in result1MTD, result2MTD column based on date selection
Thanks
Jan