Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Create Measures based on Current Month

I have a bunch of measures e.g.

Appointments = DISTINCTCOUNT('Table'[Appointment ID])

 

And I want the measure to show only the current month data. So some sort of filter on TODAY() or something. 

 

Can this be done?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

IF (
        YEAR ( Table1[Create Date] ) = YEAR ( TODAY () )
            && MONTH ( Table1[Create Date] ) = MONTH ( TODAY () ),
        "Yes",
        "No"
    )

 

 I hope this helps

 

Source: https://community.powerbi.com/t5/Desktop/Measure-for-Current-Month/td-p/91531

 

Best Regards,

JO

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hello, 

 

Yes, for exemple, if you want to show in a card, just put the measure in the card and drag the column that has the date to the filters area and on the filter data, choose the relative date and you can select "on this month"

 

Best Regards,

JO

Anonymous
Not applicable

I was hoping to be explicit within the measure rather than using the page filters

Anonymous
Not applicable

IF (
        YEAR ( Table1[Create Date] ) = YEAR ( TODAY () )
            && MONTH ( Table1[Create Date] ) = MONTH ( TODAY () ),
        "Yes",
        "No"
    )

 

 I hope this helps

 

Source: https://community.powerbi.com/t5/Desktop/Measure-for-Current-Month/td-p/91531

 

Best Regards,

JO

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors