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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.