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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
reendzz98
Helper I
Helper I

Displaying current month

reendzz98_0-1666919909321.png

I need help to display Month if Measure_currentMonth = 1

 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

In the filter pane, apply a filter with a criteria of 1.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

In the filter pane, apply a filter with a criteria of 1.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@reendzz98 ,

You can have a column in date table for the current month

 

current flag= if(eomonth([Date]) = eomonth(Max(Table[Date]),0) , 1, 0)

 

then you can use as a filter

Calculate( Sum(Table[Value]), filter (Date, date[current flag] =1))

 

 

You can also refer

https://medium.com/chandakamit/cheat-sheet-power-bi-time-intelligence-formulas-using-today-654f26e27...

Hi @amitchandak 

Thank you for your reply. 

 

What if I only have the columns for the month but no columns for date?

@reendzz98 , if you have month and Year

 

Date = datevalue("01-"&[Month] & "-" & [Year])

 

only month

 

Date = datevalue("01-"&[Month] & "-" & Year(Today()) )

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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