Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a below table, I need to add a condition column to check the end date of a month and return a value as below:
Kindly help me to get the same.
@amitchandak @Greg_Deckler @lbendlin @DesktopOwl @Goodlytics4U @HelpMe @Ahmedx @v-huijie-msft
Solved! Go to Solution.
Hi
Please look into my previous comment, both Power Query & DAX solutions mentioned
if [Date] = Date.EndOfMonth([Date]) then "True" else "False"
Proud to be a Super User! | |
I need to do this in the Power Query, I will have to find out the month end and then use the respective Binary content.
Hi
Please look into my previous comment, both Power Query & DAX solutions mentioned
if [Date] = Date.EndOfMonth([Date]) then "True" else "False"
Proud to be a Super User! | |
[Date] = Date.EndOfMonth([Date])
Hi @gssarathkumar
In DAX calculated column
Column = If(
'Table'[Date] = EOMONTH('Table'[Date],0), "True","False")
If you need in Power Query, please find the custom conditional column syntax
if [Date] = Date.EndOfMonth([Date]) then "True" else "False"
Proud to be a Super User! | |
Since you seem to want to return a boolean you could simply write
Column = [Date]=EOMONTH([Date],0)
Hi @gssarathkumar
Please find the DAX calculated column formula
Column = If(
'Table'[Date] = EOMONTH('Table'[Date],0), "True","False")
Proud to be a Super User! | |
Formula for required column would be:
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.