Forum Discussion
TOTALYTD get empty
Good afternoon, everyone,
I have two measures to sum the premiums as below. When I try to summarize the premium on for each month, [Premium Written] gets the premium for each month. But [YTD Premium Written] gets blank result.
Any problem with the formula? Thank you.
Dennis
[Premium Written] =
CALCULATE(SUM(Policy[Premium]))
[YTD Premium Written] =
TOTALYTD ( [Premium], DateDimension[DateKey] )
Thank you, I just figured it out.
I should choose which year in VISUALIZATION FILTER to get YTD when using TOTALYTD.
Dennis
3 Replies
- AnonymousNot applicable
12Bowers12 - It looks fine, can you share your pbix on onedrive or dropbox?
- edhansCommunity Champion
Make sure the date in your visual is coming from your date table and not your Policy table.
- 12Bowers12Helper V
Thank you, I just figured it out.
I should choose which year in VISUALIZATION FILTER to get YTD when using TOTALYTD.
Dennis