Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Week in two months - need help with measure

Hi team,

 

I need help with a measure, which I can use as a hidden filter, for my chart.
Example: My custom week starts on Thursday and ends on Wednesday.  The week 30 is in two months in July as well as in August. What I would like to achieve is that week 30 to filter data in the chart for month August. If the full week is in one month, I want to see the relevant month. Week 31 in in Aug, so the bars are filtered for Aug.

The desired result:

 

 

 

 

 

 

 

Custom week comes from measure table, so I cannot use power query. Data in the bars comes from different table. The two tables don’t have a relationship between them, because of the setup of the dataset. So, I need a measure.

Thank you in advance.

2 Replies

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

    Hi Anonymous ,

     

    Can you share with me some screenshots of your data after hiding sensitive information?

    Thanks for your efforts & time in advance.

     

    Best regards,

    Yadong Fang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.