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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
cruzp
Helper V
Helper V

Create a Boolean Field/Measure based on the condition

Hello,

 

I am in the process of migrating a calculated field from Tableau to Power BI.

 

I have a PBI model that contains dim - fact - dim (all are one to many relationship) which is good.

Then I need to have a table like the picture below in the report view with just the addition of the new field 'Project Ongoing':

 

cruzp_0-1689923141088.png

Expected Output:

cruzp_1-1689923780928.png

  • PROJ-000101 is True because the date on the End Current is 17/10/2022 which is less than the Next First Month from today (01/08/2023)
  • PROJ-000185 is False because the date on the End Current is 30/11/2023 which is greater than the Next First Month from today (01/08/2023)
  • PROJ-002307 is True because Project Removed has '✔' 

 

My objective is to generate a new field or a measure called 'Project Ongoing' based on the expected output i have given above:

 

Tableau Project Ongoing calculated field to be migrated in Power BI DAX

 

 

[End Current] < [Next Month] OR [Project Removed]

 

 

Parameter:
Next Month (should be Dynamic) = Next month from today's month (01/08/2023) if based as of today.

 

2 REPLIES 2
cruzp
Helper V
Helper V

@Anonymous hi, can u able to help me on this?

amitchandak
Super User
Super User

@cruzp , Try like

 

Project Ongoing =
VAR CurrentDate = TODAY()
VAR NextMonth = EOMONTH(CurrentDate, 1)
RETURN IF([End Current] < NextMonth || [Project Removed] = "✔", TRUE(), FALSE())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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