cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Drake23 Regular Visitor
Regular Visitor

curent month and all months

Hi Team,

The seems to be simple but I am not able to solve it. Here it is

I need 2 buttons.

1. is to show completed months

2. to show data till date.

 

example:

If I press "Completed Months" button then data should show only completed months i.e is till last month

If I press "Current Month" button then data should show till date. i.e is from the begining to till date.

 

Regard

Drake

 

1 ACCEPTED SOLUTION

Accepted Solutions
Drake23 Regular Visitor
Regular Visitor

Re: curent month and all months

Hi

Managed to workout myself, I have created a slicer with current month and completed month and now everything depends on Slicer selection, Manager accepted it. I am happy.

 

Regards

 

View solution in original post

2 REPLIES 2
Highlighted
MartijnNL Member
Member

Re: curent month and all months

You can create a column in your date table to calculate the current fullfilled month.

e.g. I use a filter to select a month:   Full month = IF(MONTH(TODAY())-1=Month[Month];"Current Reporting Period";Month[Month])

 

Then use the month in your YtD measure. 

 

Drake23 Regular Visitor
Regular Visitor

Re: curent month and all months

Hi

Managed to workout myself, I have created a slicer with current month and completed month and now everything depends on Slicer selection, Manager accepted it. I am happy.

 

Regards

 

View solution in original post

Helpful resources

Announcements
Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors