Forum Discussion
Automate table to add months
- 5 years ago
Hi Anonymous ,
Suppose your data is till August,such as below:
First create a calendar table to the end of the year,then create a relationship between the 2 tables;
Finally create a measure as below:
Measure = IF ( MONTH ( MAX ( 'Table 2'[Date] ) ) <= MONTH ( TODAY () ), 1, BLANK () )Put the measure in the filter pane and select measure is 1:
And you will see:
For each new adding month,you could use another measure to fill in the data.
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my raeply as a solution!
Hi Anonymous ,
Suppose your data is till August,such as below:
First create a calendar table to the end of the year,then create a relationship between the 2 tables;
Finally create a measure as below:
Measure =
IF ( MONTH ( MAX ( 'Table 2'[Date] ) ) <= MONTH ( TODAY () ), 1, BLANK () )
Put the measure in the filter pane and select measure is 1:
And you will see:
For each new adding month,you could use another measure to fill in the data.
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my raeply as a solution!
Thank you, Kelly!