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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |