Forum Discussion
pankajdhillon
10 years agoFrequent Visitor
TOTALYTD not working
I am using TOTALYTD but no output is coming from it TOTALYTD(COUNT(BookingDataAir[Bookings]),'DimDate'[full_date]) whereas when I use CALCULATE it works fine and gives expected result CALCULATE...
- 10 years ago
Actually I realized my mistake, my formula was correct but when I was trying to visualize my data I was using date column from my BookingDataAir dataset rather than using them from DimDate dataset and due to that no value was coming for TOTALYTD.
Thanks everyone for help though.
pankajdhillon
10 years agoFrequent Visitor
Actually I realized my mistake, my formula was correct but when I was trying to visualize my data I was using date column from my BookingDataAir dataset rather than using them from DimDate dataset and due to that no value was coming for TOTALYTD.
Thanks everyone for help though.
- Greg_Deckler10 years agoCommunity Champion
DAX is all about context! :)