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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
cruzp
Helper V
Helper V

Table shows all rows when measure is added

Hi 

 

I want to create a new field that will show True if StartPrevious is Null/Empty. As seen in the picture below:

1 Opportunity have 1 project 

 

Expected output:

cruzp_0-1689851302459.png

 

I am using this DAX Formula: 

StartDateBool = IF(ISBLANK([StartPrevious]),"True","False")
But I am not getting the expected output as shown the above pic since the rows automatically expands and shows a lot of rows even when the opportunity should only have 1 project. 
cruzp_2-1689851445799.png

 

 
My model has one to many relationship between fact-aging.
 
Please help.
3 REPLIES 3
pankaj_lp
Helper I
Helper I

if its possible could you share a sample data

pankaj_lp
Helper I
Helper I

it seems its because of the relationship between the tables,
Try using this anyway:

StartDateBool =
VAR OpportunityID = [Opportunity_BK]
VAR HasProject =
CALCULATE(
COUNTROWS(Table),
FILTER(
Table,
Table[Opportunity_BK] = OpportunityID &&
NOT(ISBLANK(Table[StartPrevious]))
)
)
RETURN
IF(HasProject > 0, "False", "True")

Hi @pankaj_lp I can't call the [Opportunity_BK] from the DIM_Opportunity table although there is a one to many relationship to my fact table.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors