Forum Discussion
Sum data based on date range
- 9 years ago
Hi siddhantk989,
It's same result, I just change connection and field name from Order Date-> Date to fit with your file with my column fields.
Hi Baskar,
As my guessing, I missed one step in my guideline that create relationship between Dates and Fact table:
tringuyenminh92 I have created relationship between the 2 tables but i dont know wh I am not getting the correct result for my data. Can you please try with the data that I have provided to you once
- tringuyenminh929 years agoMemorable Member
Hi siddhantk989,
It's same result, I just change connection and field name from Order Date-> Date to fit with your file with my column fields.
- siddhantk9899 years agoHelper III
Thanks a lot for your help. I think the problem was with the date format. The solution is working perfectly fine now.
- siddhantk9899 years agoHelper III
I know the solution is perfectly fine and it is working with most of my code. but I just encountered 1 scenarion that If I have sales as 0 for Jan 2017 the fiscal year code for me is not working in this scenario. Please find the attched sample ata at the below link and kindly let me know where I am hoing wrong:
https://1drv.ms/x/s!AoXl4WEaulxtaUSydM8pD6I5vw0
Sorry for disturbing you again and agin but I am completely new to DAX coding.
Thanks in Advance.
Thanks,
Siddhant