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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ADCOPBI
Frequent Visitor

Last day columns over a date column with Values

I have a date column that has corresponding values. Instead of just seeing all of the dates or just one date. I want to know if there is a way where across the whole column it only takes every month's last date. So for example If my data has September 1 - December 31st I only want to see the last dates in one table for those months. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ADCOPBI ,

 

Based on your description, you can create a measure as follows.

Measure =

var x1=ENDOFMONTH('Table'[Date])

return

IF(MAX('Table'[Date])=x1,1,0)

 

Result:

v-yuaj-msft_0-1607505250706.png

 

v-yuaj-msft_1-1607505250709.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ADCOPBI ,

 

Based on your description, you can create a measure as follows.

Measure =

var x1=ENDOFMONTH('Table'[Date])

return

IF(MAX('Table'[Date])=x1,1,0)

 

Result:

v-yuaj-msft_0-1607505250706.png

 

v-yuaj-msft_1-1607505250709.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

littlemojopuppy
Community Champion
Community Champion

Yes.  Add a transformation step in Power Query using the Date.EndOfMonth function

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.