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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Nhphong
Regular Visitor

How to mark completion date of a task but not change based on system clock when refresh data.

Hello,

 

Currently, I have two columns in table, i want to mark completion date when the percentage column reaches to 100%.

 

I used daxfunction: IF('Completion Date'[% Done chuyen may]=1,TODAY(),BLANK())

 

Problem: When refreshing data, completion date changes to system clock date. How can i avoid this ? I also used Now() function but the result still the same as with Today().

Nhphong_1-1679467889050.png

 

Regards,

Hoai Phong

 

 

4 REPLIES 4
Nhphong
Regular Visitor

Hi,

The Percentage column is calculated by two cloumns are: Quantity of complete/Total. When complete = Total then 100%.

 

Regards,

Hoai Phong

Okay.

And your Complete and Total Columns are read from direct query or Imported from SQL? How they are loaded?

Hi sir,

My data source is excel file from sharepoint. People keyin status "Done" after complete.

MohammadLoran25
Super User
Super User

Hi,

What is your data source? The Percentage column is read from your data source directly (Direct Query etc.) or it is calculated using a calculation in power bi?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.