Forum Discussion

PhilippeCN's avatar
PhilippeCN
Frequent Visitor
6 years ago

Chinese Lunar Calendar

Hello everybody  ðŸ˜€

 

I need to be able to manage the lunar calendar as well as the fiscal calendar and the gregorian (standard) calendar, this because i need to compare chinese marketing activities from one year to another and they are based on the lunar calendar (

- chinese new year month1-day1,

- lantern festival month1-day15,

- dragon boat festival month5-day5,

- double 7 also called the valentine's day month7-day7)

 

here my questions :

 

1. What is the best structure to adopt in my time dimension to be able to manage these 3 dates knowing that my fact tables contains a date in gregorian calandar ? could you please give me a pbix ?

 

2. what is the best way create the slicer and give to the user the possibility to chose a period of time (ex: to create 2 fields to input the date and 3 check box (Fiscal, Standard, Lunar) ??? ), could you please add it in the pbix ?

 

Thanks a lot for your help 

 

Philippe 

 

 

6 Replies

    • PhilippeCN's avatar
      PhilippeCN
      Frequent Visitor

      HEllo amitchandak  

       

      Thank you for you answer, I understand the logic

       

      concernnig the question #2 , how do you male coexist in a slicer all the calendars making that the user can chose if he wants the standard, fiscal or lunar ? is their a check box thing to chose or a parameter somewhere ?

      • Greg_Deckler's avatar
        Greg_Deckler
        Icon for Community Champion rankCommunity Champion

        One method is to create a disconnected table with your choices of calendars. Then, you can have a measure select the appropriate date column from your calendar. Not sure of what your use cases are so hard to say exactly. You could also do this with bookmarks and buttons and that might work better if you have circumstances where dates are on the axis of a visual for example.

  • v-diye-msft's avatar
    v-diye-msft
    Icon for Community Support rankCommunity Support

    Hi PhilippeCN 

     

    If you've fixed the issue on your own please kindly share your solution. if the above posts help, please kindly mark it as a solution to help others find it more quickly.thanks!