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

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.

Reply
aiyosap
Helper II
Helper II

How to perform looping logic in calculate column

Hi all,

 

I am wondering if there is a way to perform a looping in my current situation describe below.

 

I would like the power BI to insert a text called "Biggest" when it looping through and compare the value in each cell in the "Total Onhold Working Days" based on column "Case ID" (see below)

 

There is a loop and if statement to be embedded in this custom column (Determinant) and I am not sure how to do it.

 

May table on the left has been accending and descending order like the picture show.

 

Hope you can shed a light. thanks.

 

1.JPG

 

Regards,

Aiyosap

1 ACCEPTED SOLUTION

Hi 

The source table is an excel file and there are no other table link to this dataset.

I cannot share example of dataset as it is P&C stuffs. thanks.

 

Do you know how to resolve this?

 

Regards,

Yong

View solution in original post

3 REPLIES 3
andhiii079845
Solution Sage
Solution Sage

Your source table is a regular table in PBI? Are there some other tables involved or related tables? Can you please share a data example, you can use the internal table function. (No screenshot!). 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi 

The source table is an excel file and there are no other table link to this dataset.

I cannot share example of dataset as it is P&C stuffs. thanks.

 

Do you know how to resolve this?

 

Regards,

Yong

Than please make the effort to create a example table with the existing table function in this forum. 🙂
Yes, i know a way. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.