Forum Discussion
srivally
8 years agoHelper I
Calculate YTD for duplicate dates
Hello Experts, I am very new to PowerBI. I searched a lot to calculate YTD and came to know that we can calculate YTD only when we have distinct continous dates. But in my case I have multiple value...
- Anonymous8 years ago
srivally,
You date table doesn't contain all the possible date values of your sales table, and you don't create relationship between the two tables, thus you don't get expected YTD value.
Please check the attached PBIX file.
Regards,
Lydia
jayesh25parab
7 years agoFrequent Visitor
hi I am doing the right relationship and all the dates are popping in the datedim but when I create a table with both the relationship dates I get null in datedim column can you plz help me?
jayesh25parab
7 years agoFrequent Visitor
Anonymous
The datedim is a table created using DimDate = CALENDAR("1/1/2008","12/31/2020") and submit date is a another column in other table with duplicate dates. The relationship is both ways between the two column in spite of it when I try creating a table between the 2 columns I get null values for dimdate column