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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Hopeisgood1
Resolver I
Resolver I

How to change the % in Tooltip and How to fix the percentage to 100% if completed?

Hi all:

 

I have 2 issues....

 

1) the tooltip is using the .48% instead of 48%.

Hopeisgood1_0-1743203550339.png

Whereas the table has it formatted correctly....

Hopeisgood1_1-1743203638120.png

And for the Tooltip Settings, it's only for the Date Format....

 

2) I am not sure HOW to do the DAX calculation between 2 dates without going over 100% if it's completed? 

 

ProgressPercentage = DIVIDE ((TODAY() - [TaskStartDate]), ([TaskEndDate] - [TaskStartDate]))
 
Hopeisgood1_3-1743204073726.png

 


 

 

 

1 ACCEPTED SOLUTION

Hi @Hopeisgood1 ,

Please try to use the below calculated column DAX query. 

ProgressPercentage = ROUND(MIN(1,DIVIDE ((TODAY() - [TaskStartDate]), ([TaskEndDate] - [TaskStartDate]))),1)

 

and to make the bar darker you need to you need to Turn OFF the TASK COMPLETION option  if it is ON.

Vyubandimsft_0-1743589970697.jpeg

 

Thanks...

View solution in original post

8 REPLIES 8
V-yubandi-msft
Community Support
Community Support

Hi @Hopeisgood1 ,

the place  of "sum of progress percentage"  of  "%completion" , don't use any calculation, just select "No Calculation" 

If it doesn't work, confirm the visual name as well as the dummy data if possible.

 

Thanks for your contribution @lbendlin .

 

Thanks..

That is what I have...

 

Hopeisgood1_0-1743530801821.png

And my work is not allowing us uploading files outside of its realm 😞 So here you go for the bottom info.

Here's the dummy data 

Hopeisgood1_1-1743531314431.png

and the set up in Power BI for Gantt

Hopeisgood1_3-1743531402326.png

 

 

 

 

Hi @Hopeisgood1 ,

Please try to use the below calculated column DAX query. 

ProgressPercentage = ROUND(MIN(1,DIVIDE ((TODAY() - [TaskStartDate]), ([TaskEndDate] - [TaskStartDate]))),1)

 

and to make the bar darker you need to you need to Turn OFF the TASK COMPLETION option  if it is ON.

Vyubandimsft_0-1743589970697.jpeg

 

Thanks...

THANK YOU!!!! 

 

Hopeisgood1_0-1743636789048.png

 

lbendlin
Super User
Super User

ProgressPercentage = MIN(1,DIVIDE ((TODAY() - [TaskStartDate]), ([TaskEndDate] - [TaskStartDate])))

That works perfect!!! 

Hopeisgood1_0-1743276341141.png

 

How do I fix the tooltips, though? I need to figure out the bars, though, as it's not filling up the darker color!

 

Hopeisgood1_1-1743276499487.png

 

 

You would need to provide some more details. What's the definition of "% Completion" ?  Is that a measure?

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Hi Ibendlin,

Sorry, my work is not allowing me to upload files outside of their approval list...

 

However, this is technically one thing - the Progress Percentage - You fixed the DAX piece (issue 1). 

 

The % Completion (aka the ProgressPercentage) is the percentage of how much is completed in a task. The calculation came from the one you assisted me with earlier. 

 

Hopeisgood1_2-1743459444417.png

 

The % of the tooltip is also reflecting the values from the % Completion (aka the ProgressPercentage) in the snapshot. (issue 2)

Hopeisgood1_3-1743459626882.png

 

I found some solutions. All but one are fixed.

Hopeisgood1_0-1743459272167.png

100% is fixed but the ones less than 100% has 2 decimals in it (below)

 

Hopeisgood1_1-1743459365237.png

 

I need it formated at 49%, NOT 49.44%....

 

That's the only thing I need help fixing.

 

Thank you,

Holly 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors