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
v_mark
Helper V
Helper V

Know if we are 50% or Halfway there based on a criteria on a dimension table.

For context I need to know if we are halfway there based from created date and target date per specific priority number and return "at risk" else "open". On a calculated column

For example: This example should return "at risk" since the target date is pass over the 28/01/2023.
Determining how many days it will go over can be found on the dimension table.
I just divide the days timeframe into 2 and round  it up. 

v_mark_3-1681351029484.png

I have a dimension table and fact table that has these information 

v_mark_0-1681350428341.png


Sharing the Sample PBIX.  50% Sample.pbix

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @v_mark ,

Please try this.

Status 2 = 
VAR _50_date = 'FactTable'[Created date] + RELATED(TimeFrameTable[50% of Days])
VAR _result = IF(ISBLANK('FactTable'[Close Date]) && 'FactTable'[Target Date] > _50_date, "At Risk", "Open")
RETURN
_result

vcgaomsft_0-1681802731857.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @v_mark ,

Please try this.

Status 2 = 
VAR _50_date = 'FactTable'[Created date] + RELATED(TimeFrameTable[50% of Days])
VAR _result = IF(ISBLANK('FactTable'[Close Date]) && 'FactTable'[Target Date] > _50_date, "At Risk", "Open")
RETURN
_result

vcgaomsft_0-1681802731857.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

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