내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Removing the 'Hours' Text From Results

Avatar

Level 2

Hi everyone,

Could someone help me with the following simple text?

How do I remove the Hours text from the results column, so that it only returns the numeric value without the text?

 

displayname=
linkedname=direct
namekey=actualworkrequired
querysort=actualWork
textmode=true
valuefield=actualWorkRequired
valueformat=compound
viewalias=actualworkrequired

 

Thanks

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Got it. This was tricky and the credit goes to @kynabaker16, who solved it in this post Remove the string "Hours" when creating a report.. 

 

Here's what worked in my project report:

 

displayname=Actual
linkedname=direct
namekey=actualworkrequired
querysort=actualWork
textmode=true
valueexpression=DIV({actualWorkRequired},60)
valuefield=actualWorkRequired
valueformat=compound
viewalias=actualworkrequired

2023-02-03 11_33_33-Window.png

원본 게시물의 솔루션 보기

8 답변 개

Avatar

Community Advisor

Try actualWork instead, that should give you what you're looking for.

 

displayname=
linkedname=direct
namekey=actualWork
querysort=actualWork
textmode=true
valuefield=actualWork
valueformat=integer

Avatar

Level 2

thanks Sheri, but that unfortunately didn't work, and it removed all values, so the column is now blank.

I'm looking for it to appear as 00.0 instead of 00.0 Hours

Any ideas?

Avatar

Community Advisor

What kind of report are you using? I tried this on a task report and it worked to return only the numerical values 

2023-02-03 07_40_09-Current Tasks.png

Avatar

Level 2

Hi Sheri,
Thanks for looking at this, it is a project report. Here is what I get when I try:
Capture.JPG
Thanks

Avatar

정확한 답변 작성자:
Community Advisor

Got it. This was tricky and the credit goes to @kynabaker16, who solved it in this post Remove the string "Hours" when creating a report.. 

 

Here's what worked in my project report:

 

displayname=Actual
linkedname=direct
namekey=actualworkrequired
querysort=actualWork
textmode=true
valueexpression=DIV({actualWorkRequired},60)
valuefield=actualWorkRequired
valueformat=compound
viewalias=actualworkrequired

2023-02-03 11_33_33-Window.png

Avatar

Level 2

this worked!! thanks so much, I appreciate your time.

Avatar

Level 6

Try this in Text Mode (it's worked for me):

 

displayname=Task Actual Hours
textmode=true
valueexpression=CONCAT({task}.{actualworkRequired}/60)
valueformat=compound

Avatar

Level 2

thanks James...this didn't work either...it just returned zero on every line.