Forum Discussion
PXJ99
3 years agoFrequent Visitor
Annual Budget Meaure
Dear all, I have a query please. I need to calculate annual budget and it lies in a month. Example: Month YTD Budget Jul 500 Aug 700 Sep 900 Oct 1500 Nov 1600 Dec 170...
- 3 years ago
is this what you want
Measure = sumx(FILTER(all(Forecast),Forecast[Month ]="Jun"),'Forecast'[Forecast])when you change the month filter, the output for measure is always 2000
ryan_mayu
Super User
3 years agois this what you want
Measure = sumx(FILTER('Table','Table'[Month YTD]="Jun"),'Table'[Budget])
- PXJ993 years agoFrequent Visitor
Thanks very much Ryan. This looks great.
If the month column was in another table (date table), is there a way to still get the same result?- ryan_mayu3 years ago
Super User
you are welcome.
i think you need to create the relationship between tables via date column.
it's better to provide the sample data and expected output.
- PXJ993 years agoFrequent Visitor
Here is my pbix file.
https://www.dropbox.com/s/rfc6d01hwolyz3y/PB%20File%201.pbix?dl=0
Thnks for your help.