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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors